2024-02-27 17:10:31 +01:00
|
|
|
name: Testing
|
|
|
|
on: [push]
|
2021-08-01 16:30:36 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
default:
|
2024-02-27 17:10:31 +01:00
|
|
|
runs-on: ubuntu-20.04
|
2021-08-01 16:30:36 +02:00
|
|
|
steps:
|
2024-02-27 17:10:31 +01:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update
|
|
|
|
apt-get install -yq --no-install-suggests --no-install-recommends \
|
|
|
|
python3-dev python3-pip python3-venv python-is-python3
|
|
|
|
pip install setuptools wheel
|
|
|
|
pip install --upgrade pip tox virtualenv
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Quick lint
|
|
|
|
run: tox -e lint-basic
|
|
|
|
- name: Run tests
|
|
|
|
run: tox
|