From d303a5cd5ce6bf6d03fca4838da050157aba50e1 Mon Sep 17 00:00:00 2001 From: Ricardo Band Date: Mon, 16 Oct 2023 18:50:29 +0200 Subject: [PATCH] Create tests.yml --- .github/workflows/tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..6a84d96 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,27 @@ +name: Run tests + +on: + push: + branches: + - next + workflow_dispatch: + +jobs: + tests: + runs-on: ubuntu-latest + strategy: + matrix: + version: [3.10, 3.11, 3.12] + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: "${{ matrix.version }}" + - name: Install dependencies + run: | + pip install --upgrade pip setuptools wheel + # install actual deps and dev deps from pyproject.toml + - name: Run tests + run: make test