Add automated testing via GitHub actions workflow#52
Open
joeyparis wants to merge 2 commits intocodus:masterfrom
Open
Add automated testing via GitHub actions workflow#52joeyparis wants to merge 2 commits intocodus:masterfrom
joeyparis wants to merge 2 commits intocodus:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Automatically run rspec tests on multiple ruby versions on pull requests and code pushes.
Notes
I did update the bundler dev dependency to 2.2, if this is undesirable I can downgrade the bundler that GitHub uses by default.
How to test
You can run these tests locally using https://github.com/nektos/act and running
act -j test. You'll want to addImageOS=ubuntu18to your.envfile and create a file named.actrcwith the contents-P ubuntu-latest=nektos/act-environments-ubuntu:18.04. (Note running this the first time will require a large download, you can substitute theubuntu-latestvalue withcatthehacker/ubuntu:act-18.04for a medium-size image andnode:12.20.1-buster-slimfor a small image, although you'd need to add additional dependencies to the workflowBreaking changes
N/A
Checklist