-
Notifications
You must be signed in to change notification settings - Fork 71
46 lines (44 loc) · 1.02 KB
/
other_tests.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
name: TESTS
on: [ push, pull_request ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test:
- solid
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
uses: ./.github/actions/install
with:
essentials: true
r: false
rdep: false
cuda: false
hip: false
openmpi: false
lcov: true
- name: Compile
shell: bash
run: |
cd tests/${{ matrix.test }}
make ADD_FLAGS="-fprofile-arcs -ftest-coverage"
- name: Run
shell: bash
run: |
cd tests/${{ matrix.test }}
make run
- name: Gather coverage data
uses: ./.github/actions/coverage
id: coverage
- name: Send coverage data
uses: codecov/codecov-action@v3
if: steps.coverage.outputs.reports != ''
with:
files: ${{ steps.coverage.outputs.reports }}
flags: ${{ matrix.model }}