-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (39 loc) · 899 Bytes
/
test.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: Test
on:
push:
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
paths-ignore:
- 'docs/**'
- '**.md'
workflow_dispatch:
jobs:
build:
runs-on: ${{matrix.os}}
continue-on-error: ${{matrix.experimental}}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
experimental: [false]
include:
- os: windows-latest
experimental: true
steps:
- uses: actions/checkout@v2
- uses: alire-project/setup-alire@v1
- name: Run tests
run: make tests
- name: Install lcov
run: |
sudo apt update
sudo apt install lcov
continue-on-error: true
if: ${{ matrix.os != 'windows-latest'}}
- name: Generate coverage
run: make coverage
continue-on-error: true
if: ${{ matrix.os != 'windows-latest'}}