We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca5213 commit f92390cCopy full SHA for f92390c
.github/workflows/specs.yml
@@ -0,0 +1,35 @@
1
+name: Specs
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ ruby: ['2.5', '2.6', '2.7']
16
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v2
20
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
27
+ - name: Run tests
28
+ run: bundle exec rake
29
30
+ - name: Archive screenshots for failed tests
31
+ uses: actions/upload-artifact@v2
32
+ if: failure()
33
34
+ name: test-failed-screenshots
35
+ path: spec/dummy/tmp/screenshots
0 commit comments