Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/tests-oldest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,27 @@ 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
allow-prereleases: true
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
Expand Down
Loading