From db2481002aa0a6daf71ba60fd02568aeae574dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sun, 6 Oct 2024 02:08:20 +0200 Subject: [PATCH] Add test workflow --- .github/workflows/test.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..d6b78f7 --- /dev/null +++ b/.github/workflows/test.yaml @@ -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 \ No newline at end of file -- 2.45.2