From 9f294776d190708b555b6c60a4395de883c4bff3 Mon Sep 17 00:00:00 2001 From: fliiiix Date: Sun, 10 Nov 2024 17:37:04 +0100 Subject: [PATCH] gitlab ci updates for Python 3.7 --- .github/workflows/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2bd19f5..75ee9016 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.12 - name: Setup and install tools @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Setup build and test environment @@ -38,10 +38,6 @@ jobs: - name: Build Python Package run: | python -m pip install -r requirements-dev.txt - - name: Update pytest on >= Python3.10 - if: ${{ matrix.python-version == '3.12' }} - run: | - python -m pip install pytest==7.0.1 - name: Unit Test with pytest run: | coverage run -p --source radish -m pytest tests/unit/ --junitxml=junit/unit-test-results.xml @@ -62,7 +58,7 @@ jobs: - name: Upload coverage to Codecov # codecov only runs on Linux if: startsWith(matrix.os, 'ubuntu-') - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml