-
Notifications
You must be signed in to change notification settings - Fork 9
45 lines (33 loc) · 1.19 KB
/
build-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
45
name: Build Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linters-deb-testing:
name: Static Checks (Debian Testing)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Create Native Environment
run: cd tests/ci/ && podman build -t laniakea -f ./Dockerfile-debian-testing .
- name: Set up Python virtual environment
run: podman run -a stdout -a stderr -v `pwd`:/build laniakea
./tests/ci/run-venv-prepare.sh lint-only
- name: Check
run: podman run -a stdout -a stderr -v `pwd`:/build laniakea
./tests/ci/run-lint.sh
test-deb-bullseye:
name: Testsuite (Debian 12)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Create Native Environment
run: cd tests/ci/ && podman build -t laniakea -f ./Dockerfile-debian-stable .
- name: Set up Python virtual environment
run: podman run -a stdout -a stderr -v `pwd`:/build laniakea
./tests/ci/run-venv-prepare.sh
- name: Testsuite
run: podman run --privileged -a stdout -a stderr --security-opt seccomp=unconfined -v `pwd`:/build laniakea
./tests/ci/run-tests.sh