chore: update ci workflows

this adds a proper release workflow (that I already know) and a test
workflow that installs and uses pytest
This commit is contained in:
PlexSheep 2025-01-24 14:50:09 +01:00
parent 72d8ab526f
commit 8499c81f7d
No known key found for this signature in database
GPG key ID: 9EB784BB202BB7BB
3 changed files with 56 additions and 50 deletions

32
.github/workflows/tests.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Tests
on:
pull_request:
branches:
- "**"
push:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
pip install -e .
- name: Run tests
run: |
pytest