-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(GH-1039) Acceptance tests for Linux on GHActions Workflow #1040
(GH-1039) Acceptance tests for Linux on GHActions Workflow #1040
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1040 +/- ##
==========================================
- Coverage 91.27% 91.19% -0.09%
==========================================
Files 138 138
Lines 5511 5563 +52
==========================================
+ Hits 5030 5073 +43
- Misses 481 490 +9
Continue to review full report at Codecov.
|
This PR adds acceptance tests on Linux as a Github Action Workflow. It also removes .travis.yml, disabling CI tests from executing on TravisCI, now we have parity on Github Actions. The following dependencies were added to the `acceptance_ci` Gem group: - `puppet_litmus` - `puppetlabs_spec_helper` Litmus is used to provision a Docker container from the official Ruby Docker hub. Currently this is only `2.5` as more work is required to get acceptance tests operational on `2.7`. Bolt is used to configure the container for test execution by: - Checking out the current repo + branch - Performing a `bundle install` Then, again, using Bolt, the tests are kicked off within the container using the `acceptance:local_parallel` Rake task. In all cases (i.e. no matter the previous steps exit codes), the container will be torn down using the `litmus:tear_down` Rake task. The test matrix can be extended by adding more options to the `include` param. E.g. ``` include: - provider: docker ruby_version: 2.7 image: ruby:2.7 ``` The `provider` parameter is any of the supported provisioners available to Litmus from the [provision](https://github.com/puppetlabs/provision) repo of Bolt tasks. The `image` parameter is specific to the `provider` specified. For the Docker provisioner, this is the usual `name:[:tag|@digest]` format.
* Add "BSD" as standard permissive license * Add "2-clause BSDL" as standard permissive license * dig up original source for log4r 1.1.10 on github which has LGPLv3 attached
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds acceptance tests on Linux as a Github Action Workflow.
It also removes .travis.yml, disabling CI tests from executing on
TravisCI, now we have parity on Github Actions.
The following dependencies were added to the
acceptance_ci
Gemgroup:
puppet_litmus
puppetlabs_spec_helper
Litmus is used to provision a Docker container from the official
Ruby Docker hub. Currently this is only
2.5
as more work isrequired to get acceptance tests operational on
2.7
.Bolt is used to configure the container for test execution by:
bundle install
Then, again, using Bolt, the tests are kicked off within the
container using the
acceptance:local_parallel
Rake task.In all cases (i.e. no matter the previous steps exit codes), the
container will be torn down using the
litmus:tear_down
Rake task.The test matrix can be extended by adding more options to the
include
param. E.g.The
provider
parameter is any of the supported provisionersavailable to Litmus from the provision
repo of Bolt tasks.
The
image
parameter is specific to theprovider
specified. Forthe Docker provisioner, this is the usual
name:[:tag|@digest]
format.
TODO
license_finder
flaggingpuppet_litmus
Closes: #1039