Compare commits

..

2 Commits

Author SHA1 Message Date
774cec521e Merge pull request 'Make test workflow' (#4) from 3-test-workflow into master
Some checks failed
build / build (push) Failing after 13m18s
test / test (push) Failing after 12m50s
Reviewed-on: #4
2024-10-06 00:13:47 +00:00
db2481002a Add test workflow
All checks were successful
test / test (push) Successful in 1m25s
build / build (push) Successful in 2m40s
test / test (pull_request) Successful in 58s
build / build (pull_request) Successful in 2m24s
2024-10-06 02:08:20 +02:00

17
.github/workflows/test.yaml vendored Normal file
View File

@ -0,0 +1,17 @@
name: test
on:
push:
pull_request:
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