[WIP] Migrate make test
and make reprotest
to GitHub Actions
#87
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
container: debian:bullseye | |
steps: | |
- name: Bootstrap Debian system package dependencies | |
run: | | |
apt-get update && apt-get install --yes --no-install-recommends make sudo git git-lfs ca-certificates | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Install additional packages and Python dependencies | |
run: | | |
# Installs Python & bootstrap wheels, and initializes a virtualenv at .venv | |
make install-deps | |
./.venv/bin/pip install -r test-requirements.txt | |
- name: Run linters | |
run: | | |
. ./.venv/bin/activate | |
make lint | |
- name: Run tests except reprotest | |
run: | | |
. ./.venv/bin/activate | |
make test |