From f8503c163785a16a46a1d278b81c3aaae7feeac6 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 8 Jul 2026 08:56:21 +0200 Subject: [PATCH] fix github workflow --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b725914..6fb8d6c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,20 +19,20 @@ jobs: test: strategy: matrix: - pyversion: [3.6, 3.7, 3.8, 3.9, "3.10"] + pyversion: ["3.8", "3.9", "3.10"] # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2.2.2 + - uses: actions/checkout@v6 + - name: Setup Python ${{ matrix.pyversion }} + uses: actions/setup-python@v5 with: # Version range or exact version of a Python version to use, using SemVer's version range syntax. python-version: ${{ matrix.pyversion }} # optional, default is 3.x # Runs a set of commands using the runners shell - name: Run tests run: | - python -m pip install --upgrade pip - python setup.py test + pip install pytest + pytest tests/