From 69bfae07733ad2c0ed2ffb6cc66d31af9b06f01b Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Thu, 16 May 2024 23:15:35 +0200 Subject: [PATCH] ci: add pytest Forgejo Actions --- .forgejo/workflows/tests.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .forgejo/workflows/tests.yml diff --git a/.forgejo/workflows/tests.yml b/.forgejo/workflows/tests.yml new file mode 100644 index 0000000..0fa275c --- /dev/null +++ b/.forgejo/workflows/tests.yml @@ -0,0 +1,13 @@ +on: [ push ] +jobs: + tests: + container: + image: docker.io/library/python:3.11-alpine + runs-on: docker + steps: + - run: apk add --no-cache git nodejs-current + - uses: actions/checkout@v4 + + - run: pip install -U pytest beartype termcolor + - run: pytest + working-directory: compiler