-
Notifications
You must be signed in to change notification settings - Fork 49
34 lines (34 loc) · 1023 Bytes
/
ci.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
name: ci
on: [pull_request, workflow_dispatch]
jobs:
check3:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-22.04", "ubuntu-20.04"]
steps:
- uses: actions/checkout@v2
- run: |
make depends
# -common seems a catch-22, but this is just a shortcut to
# initialize user and dirs, some used through tests.
sudo apt-get -y install landscape-common
- run: make check3 TRIAL=/usr/bin/trial3
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: make depends
- run: make lint
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
make depends
# -common seems a catch-22, but this is just a shortcut to
# initialize user and dirs, some used through tests.
sudo apt-get -y install landscape-common
- run: make coverage TRIAL=/usr/bin/trial3
- name: upload
uses: codecov/codecov-action@v1