From c9acd6360f3e00d227d2eaa4272f087009ccaab2 Mon Sep 17 00:00:00 2001 From: Jan Rydzewski Date: Mon, 30 Oct 2023 23:47:43 +0100 Subject: [PATCH] Configure github actions --- .github/workflows/tests.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tests.yaml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..1eb319e --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,25 @@ +name: Run tests + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ + "3.7", "3.8", + "pypy3.9", + ] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: pip install pillow + - name: Run tests + run: python tests/alltests.py