-
Notifications
You must be signed in to change notification settings - Fork 46
49 lines (47 loc) · 1.28 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
42
43
44
45
46
47
48
49
---
name: ci
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:32
steps:
- run: dnf install -y make
- uses: actions/checkout@v4
- name: Install dependencies
run: |
make install-deps
pip install --require-hashes -r requirements/dev-requirements.txt
- name: Run linters
run: make lint
build-rpm:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:32
steps:
- run: dnf install -y make git
- uses: actions/checkout@v4
- name: Install dependencies
run: |
make install-deps
pip install --require-hashes -r requirements/dev-requirements.txt
- name: Build RPM
run: make build-rpm
- name: Check reproducibility
run: make reprotest
launcher-tests:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:32
steps:
- run: dnf install -y make
- uses: actions/checkout@v4
- name: Install dependencies
run: |
make install-deps
pip install --require-hashes -r launcher/dev-requirements.txt
- name: Run launcher tests
run: |
cd launcher/
make check