nixprstatus/.github/workflows/test.yaml
Torjus Håkestad 9b8ef2cade
All checks were successful
test / test (push) Successful in 35s
build / build (push) Successful in 2m4s
Limit workflow to master
2024-10-06 19:47:33 +02:00

21 lines
454 B
YAML

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
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