nixprstatus/.github/workflows/test.yaml

21 lines
454 B
YAML
Raw Normal View History

2024-10-06 00:08:20 +00:00
name: test
on:
push:
2024-10-06 17:47:33 +00:00
branches:
- master
2024-10-06 00:08:20 +00:00
pull_request:
2024-10-06 17:47:33 +00:00
branches:
- master
2024-10-06 00:08:20 +00:00
jobs:
test:
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pipx run poetry -- install
- run: pipx run poetry -- run python -m unittest discover -s tests -v