1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-23 09:32:23 +00:00
niar/template/.github/workflows/unit-tests.yml

23 lines
344 B
YAML
Raw Normal View History

2024-06-16 14:23:34 +00:00
name: Unit tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: kivikakk/niar/setup-action@main
- name: Run tests
run: pytest -n auto tests