diff --git a/.github/workflows/single-redis-oldest.yml b/.github/workflows/single-redis-oldest.yml index 4b354d8..627240f 100644 --- a/.github/workflows/single-redis-oldest.yml +++ b/.github/workflows/single-redis-oldest.yml @@ -43,35 +43,35 @@ jobs: path: ~/redis key: redis-${{ hashFiles('.download-redis.sh') }} - name: Setup environment - uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v5.0.0 with: python-version: ${{ matrix.python-version }} allow-prereleases: true - name: Install oldest supported versions - uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0 with: command: pip install -r oldest/requirements.txt - name: Run test on Redis ${{ matrix.redis-version }} id: run_serial_tests - uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0 with: command: python -m coverage run -m pytest -c pyproject.oldest.toml -p no:xdist --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.serial"}' - name: Combine and export serial coverage if: ${{ always() && (steps.run_serial_tests.conclusion == 'success' || steps.run_serial_tests.conclusion == 'failure') }} - uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0 with: data-file: .coverage.serial output-file: coverage.xml - name: Run xdist test on Redis ${{ matrix.redis-version }} id: run_xdist_tests - uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0 with: command: python -m coverage run -m pytest -c pyproject.oldest.toml -n auto --max-worker-restart=0 --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.xdist"}' - name: Combine and export xdist coverage if: ${{ always() && (steps.run_xdist_tests.conclusion == 'success' || steps.run_xdist_tests.conclusion == 'failure') }} - uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0 with: data-file: .coverage.xdist output-file: coverage-xdist.xml diff --git a/.github/workflows/single-redis.yml b/.github/workflows/single-redis.yml index 57d5c9d..a21e6d8 100644 --- a/.github/workflows/single-redis.yml +++ b/.github/workflows/single-redis.yml @@ -44,7 +44,7 @@ jobs: key: redis-${{ hashFiles('.download-redis.sh') }} - name: Run test on Redis ${{ matrix.redis-version }} id: run_serial_tests - uses: fizyk/actions-reuse/.github/actions/pipenv@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/pipenv@v5.0.0 with: python-version: ${{ matrix.python-version }} allow-prereleases: true @@ -52,19 +52,19 @@ jobs: env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.serial"}' - name: Combine and export serial coverage if: ${{ always() && (steps.run_serial_tests.conclusion == 'success' || steps.run_serial_tests.conclusion == 'failure') }} - uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0 with: data-file: .coverage.serial output-file: coverage.xml - name: Run xdist test on Redis ${{ matrix.redis-version }} id: run_xdist_tests - uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/pipenv-run@v5.0.0 with: command: python -m coverage run -m pytest -n auto --max-worker-restart=0 --redis-exec=$HOME/redis/redis-${{ matrix.redis-version }}/src/redis-server env: '{"COVERAGE_PROCESS_START": ".coveragerc", "COVERAGE_FILE": ".coverage.xdist"}' - name: Combine and export xdist coverage if: ${{ always() && (steps.run_xdist_tests.conclusion == 'success' || steps.run_xdist_tests.conclusion == 'failure') }} - uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7 + uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v5.0.0 with: data-file: .coverage.xdist output-file: coverage-xdist.xml