senju/.github/workflows/tests.yml
PlexSheep 8499c81f7d
chore: update ci workflows
this adds a proper release workflow (that I already know) and a test
workflow that installs and uses pytest
2025-01-24 14:50:09 +01:00

32 lines
655 B
YAML

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