We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 035f80d + 4113ac5 commit 88b334eCopy full SHA for 88b334e
.github/workflows/test.yml
@@ -0,0 +1,36 @@
1
+name: daru-view test
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ os: [ubuntu]
16
+ ruby: [2.3.0, 2.4.0, 2.5.3, 2.6.0]
17
+ runs-on: ${{ matrix.os }}-latest
18
19
+ steps:
20
+ - uses: actions/checkout@v2
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby }}
25
+ bundler-cache: true
26
+ - name: Install dependencies
27
+ run: |
28
+ gem install bundler
29
+ gem install rainbow -v '2.2.1'
30
+ bundle install
31
+ - name: Run tests
32
33
+ bundle exec rspec
34
+ bundle exec rubocop
35
+ - name: Push coverage report
36
+ run: bundle exec rake coveralls:push
0 commit comments