-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 763 Bytes
/
ci.yml
File metadata and controls
42 lines (34 loc) · 763 Bytes
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
name: Execute tests and coverage
on:
push:
branches:
- main
- master
pull_request:
env:
CARGO_TERM_COLOR: 'always'
jobs:
test:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
# Temporarily disabled linting and formatting checks, to be re-enabled later.
# - name: Check formatting
# run: make fmt-check
#
# - name: Run linter
# run: make lint
- name: Run tests
run: make test
coverage:
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:0.35.1
options: --security-opt seccomp=unconfined
needs: test
steps:
- uses: actions/checkout@v4
- name: Run tests with coverage
run: make coverage-check