Add a gitea action

This commit is contained in:
Lee Miller 2024-02-27 18:10:31 +02:00
parent 5709335363
commit 006522d5c1
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Testing
on: [push]
jobs:
default:
runs-on: ubuntu-20.04
steps:
- 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