-
Notifications
You must be signed in to change notification settings - Fork 129
41 lines (39 loc) · 1.02 KB
/
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
35
36
37
38
39
40
41
---
name: Run CI checks
on: [pull_request]
jobs:
unittests-fedora:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install make and docker
run: sudo apt-get install make podman-docker
- name: Run the tests
run: make container-unittests-fedora
unittests-el7:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install make and docker
run: sudo apt-get install make podman-docker
- name: Run the tests
run: make container-unittests-el7
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install make, pylint and flake8
run: sudo apt-get install make pylint flake8
- name: Run pylint
run: make pylint
- name: Run flake8
run: make flake8