We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cfd1d5 commit c269163Copy full SHA for c269163
.github/workflows/rspec.yml
@@ -0,0 +1,29 @@
1
+name: CI tests
2
+on:
3
+ push:
4
+jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ ruby: [ '3.0', '3.1', '3.2', '3.3' ]
10
+ env:
11
+ HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
12
+ HEROKU_API_USER: ${{ secrets.HEROKU_API_USER }}
13
+
14
+ name: Setup env & run tests with Ruby ${{ matrix.ruby }}
15
+ steps:
16
+ - name: Checkout repo
17
+ uses: actions/checkout@v3
18
19
+ - name: Setup Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby }}
23
24
+ - name: "Install dependencies"
25
+ run: bundle install --jobs=4 --retry=3 --path vendor/bundle
26
+ - name: "Hatchet setup"
27
+ run: bundle exec hatchet ci:setup
28
+ - name: "Run tests"
29
+ run: bundle exec rspec
0 commit comments