Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/single-postgres-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Set up Pipenv on python ${{ matrix.python-version }}
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v4.4.4
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v4.4.7
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand All @@ -58,25 +58,25 @@ jobs:
}
- name: Run test
id: run_serial_tests
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.4
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7
with:
command: python -m coverage run --data-file=.coverage.serial -m pytest -svv -p no:xdist --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
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.4
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7
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.4
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.4.7
with:
command: python -m coverage run --data-file=.coverage.xdist -m pytest -n auto --dist loadgroup --max-worker-restart 0 --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
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.4
uses: fizyk/actions-reuse/.github/actions/coverage-combine-export@v4.4.7
with:
data-file: .coverage.xdist
output-file: coverage-xdist.xml
Expand Down
Loading