20 lines
433 B
YAML
20 lines
433 B
YAML
# Run the unit tests. The tests use no network and no .env file.
|
|
name: Tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
pytest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4.2.2
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
- run: python -m pip install --upgrade pip
|
|
- run: python -m pip install -e ".[dev]"
|
|
- run: python -m pytest
|