-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (41 loc) · 1010 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: test
on:
- push
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby-version:
- jruby
- '2.4'
- '2.7'
- '3.0'
- head
runs-on:
- ubuntu-latest
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- run: bundle exec rake test:each_format
- name: Report to Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}
flag-name: "ruby: ${{ matrix.ruby-version }} os: ${{ matrix.runs-on }}"
parallel: true
finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Report completion to Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true