Debian Codegraph @

.github/workflows/tests.yml

raw symbols SCIP
1 name: tests
2 on:
3 push:
4 pull_request:
5 schedule:
6 - cron: 0 4 * * MON,FRI
7 jobs:
8 vm:
9 runs-on: ubuntu-latest
10 steps:
11 - name: Clone repository
12 uses: actions/checkout@v4
13
14 - name: Install build and test dependencies
15 run: |
16 sudo apt-get update
17 sudo apt-get install -y build-essential python3-pip
18 pip install ruff mypy
19
20 - name: Build
21 run: make
22
23 - name: Run tests
24 run: sudo python3 -m unittest -v
25
26 - name: Run linters
27 run: make lint
28
29 container:
30 runs-on: ubuntu-latest
31 strategy:
32 fail-fast: false
33 matrix:
34 container:
35 - docker.io/amd64/ubuntu:devel
36 - docker.io/amd64/debian:sid
37 - registry.fedoraproject.org/fedora:latest
38 - registry.fedoraproject.org/fedora:rawhide
39
40 steps:
41 - name: Clone repository
42 uses: actions/checkout@v4
43
44 - name: Run container test
45 run: sudo tests/run-container "${{ matrix.container }}"