-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1015 Bytes
/
ci.yaml
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
name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: 'macos-latest'
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Tests
run: sudo --user='runner' make 'test'
coverage:
runs-on: 'ubuntu-latest'
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Tests & Coverage
run: sudo --user='runner' --preserve-env='PATH' make coverage
- name: Codecov.io
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/coverage.json
flags: unittests
name: biapy-bashling
fail_ci_if_error: false
verbose: false # optional (default = false)