From cfd11697607e5115c9e5e5b325ac6a9cb17e5811 Mon Sep 17 00:00:00 2001 From: Petr Klima Date: Tue, 26 Mar 2024 16:35:18 +0100 Subject: [PATCH] Full tox testing on "develop" and "master" branch. --- .github/workflows/TestBeforePush.yml | 30 ++++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/TestBeforePush.yml b/.github/workflows/TestBeforePush.yml index d466542..d0d9c67 100644 --- a/.github/workflows/TestBeforePush.yml +++ b/.github/workflows/TestBeforePush.yml @@ -19,19 +19,23 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["pypy3.9", "pypy3.12", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.x - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi - - name: Test with tox - run: | - tox + - 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: | + python -m pip install --upgrade pip + pip install -r requirements.txt + if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi + + - name: Test with tox + run: | + tox