Skip to content

tests

tests #771

Workflow file for this run

name: tests
on:
push:
pull_request:
schedule:
- cron: 0 4 * * MON,FRI
jobs:
vm:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install build and test dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential python3-pip
pip install ruff mypy
- name: Build
run: make
- name: Run tests
run: sudo python3 -m unittest -v
- name: Run linters
run: make lint
container:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- docker.io/amd64/ubuntu:devel
- docker.io/amd64/debian:sid
- registry.fedoraproject.org/fedora:latest
- registry.fedoraproject.org/fedora:rawhide
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Run container test
run: sudo tests/run-container "${{ matrix.container }}"