diff options
author | Peter Goldstein <peter.m.goldstein@gmail.com> | 2022-03-02 10:51:28 -0800 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2022-12-29 23:30:58 -0300 |
commit | 7ecbf081657fd9892a52b8d0cca510deb87f9b90 (patch) | |
tree | 6d105ab565ad713e05a24ac7805cfd4858982313 | |
parent | c74fb3f459f342c0eff2e8c1af5dd6cfbd149934 (diff) | |
download | highline-7ecbf081657fd9892a52b8d0cca510deb87f9b90.tar.gz |
Set up CI on GitHub Actions
-rw-r--r-- | .github/workflows/ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e576981 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Tests + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + ruby-version: + - '3.1' + - '3.0' + - '2.7' + - '2.6' + - jruby-9.3 + + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby ${{ matrix.ruby-version }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true # 'bundle install' and cache + - name: Run tests + run: bundle exec rake |