Skip to content

Add a basic test infrastructure#180

Merged
scaronni merged 1 commit intodkms-project:masterfrom
fishilico:add-test-and-gha-ci
Nov 18, 2021
Merged

Add a basic test infrastructure#180
scaronni merged 1 commit intodkms-project:masterfrom
fishilico:add-test-and-gha-ci

Conversation

@fishilico
Copy link
Contributor

Hello,

To prevent regressions such as the one identified in #177, introduce a shell script which
executes dkms add/build/install/uninstall/unbuild/remove with some variations. Also introduce a configuration for GitHub Actions' continuous integration environment, which runs this scripts with several Linux distributions, using containers.

This is a first step towards building a test suite similar to what was described on #173.

Example of successful run of the CI: https://github.com/fishilico/dkms/actions/runs/1472767721

NB. While testing this script, I encountered a bug, for which I opened #179 . When this other Pull Request is reviewed and merged, I will rebase this PR and remove the draft mode.

@scaronni
Copy link
Member

Awesome! Thank you.

To prevent regressions such as the one identified in
dkms-project#177, introduce a shell script which
executes dkms add/build/install/uninstall/unbuild/remove with some
variations. Also introduce a configuration for GitHub Actions'
continuous integration environment, which runs this scripts with several
Linux distributions, using containers.

This is a first step towards building a test suite similar to what was
described on dkms-project#173.
@fishilico fishilico marked this pull request as ready for review November 17, 2021 21:59
@fishilico
Copy link
Contributor Author

I have rebased this PR on top of master.

@scaronni scaronni merged commit f60c37c into dkms-project:master Nov 18, 2021
@scaronni
Copy link
Member

Some tests are failing for dots:

image

I would give you access to the repository, but unfortunately I don't have admin rights.

@fishilico fishilico deleted the add-test-and-gha-ci branch November 20, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants