tests: add actions workflow

This commit is contained in:
Mike Almeloo
2024-09-02 21:22:12 +02:00
committed by Mike A.
parent 51c7448a1c
commit 0f015f6880

28
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Run unit tests
on:
workflow_dispatch:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install poetry
poetry config virtualenvs.in-project true
poetry install
- uses: wntrblm/nox@2024.04.15
- name: Run unit tests
run: nox