-
-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (40 loc) · 993 Bytes
/
misc.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
name: Misc
on:
pull_request:
push:
tags:
- 'v*'
branches: [ main ]
workflow_dispatch:
concurrency:
group: misc-${{ github.ref }}
cancel-in-progress: true
jobs:
code-coverage:
name: Code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install code coverage tool
uses: actions-rs/install@v0.1
with:
crate: cargo-tarpaulin
version: latest
- name: Collect code coverage
run: cargo tarpaulin --out Xml
- name: Upload code coverage
uses: codecov/codecov-action@v2
valgrind:
name: Valgrind
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install valgrind
run: sudo apt-get install valgrind
- name: Install cargo-valgrind
uses: actions-rs/install@v0.1
with:
crate: cargo-valgrind
version: latest
- name: Run valgrind tests
run: cargo valgrind test