-
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 870 Bytes
/
ci.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
name: CI
on:
- push
- pull_request
jobs:
rspec:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
env:
BUNDLE_WITH: 'development_common development_test'
BUNDLE_WITHOUT: 'development_lint development_local'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run RSec
run: bundle exec rake coverage
- name: Upload coverage report
uses: codecov/codecov-action@v4
with:
name: ${{ matrix.ruby }}
file: ./coverage/coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}