diff options
author | Bobby McDonald <BobbyMcWho@users.noreply.github.com> | 2019-11-16 22:30:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-16 22:30:19 -0500 |
commit | e59d03f1de7331f36e46db7dcf8ae1a1ba11f261 (patch) | |
tree | dada47427f15495ab7a56b53218b5585ccc0d4a9 | |
parent | 16ffb311542dc6f8e059dc5ef0103dcd42faf446 (diff) | |
download | hashie-e59d03f1de7331f36e46db7dcf8ae1a1ba11f261.tar.gz |
Initial attempt at adding github actions CI
-rw-r--r-- | .github/workflows/test.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..1b06619 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + ruby-version: [2.1.x, 2.2.x, 2.3.x, 2.4.x, 2.5.x, ruby-head] + steps: + - uses: actions/checkout@v1 + - name: Set up Ruby ${{ matrix.ruby }} + uses: actions/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Build and test with Rake + env: + CI: 'true' + run: | + gem install bundler + bundle install --jobs 4 --retry 3 + bundle exec rake |