diff --git a/.github/workflows/tests-oldest.yml b/.github/workflows/tests-oldest.yml index b187a9d..205110d 100644 --- a/.github/workflows/tests-oldest.yml +++ b/.github/workflows/tests-oldest.yml @@ -29,35 +29,35 @@ jobs: run: | sudo apt-get install -y rabbitmq-server - name: Setup python - 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 dependencies - 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 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 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-serial.xml - name: Run xdist test 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 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/tests.yml b/.github/workflows/tests.yml index cb367b6..b5d4d74 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: sudo apt-get install -y rabbitmq-server - name: Run test 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 }} command: python -m coverage run -m pytest -p no:xdist @@ -38,19 +38,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-serial.xml - name: Run xdist test 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 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