Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/dockerised-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Run test noproc fixture on docker
uses: fizyk/actions-reuse/.github/actions/pipenv@v4.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv@v4.2.1
with:
python-version: ${{ matrix.python-version }}
command: pytest -n 0 --max-worker-restart 0 -k docker --postgresql-host=localhost --postgresql-port 5433 --postgresql-password=postgres --cov-report=xml:coverage-docker.xml
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/oldest-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v4.2.1
with:
python-version: ${{ matrix.python-version }}
cache: false
Expand All @@ -55,15 +55,15 @@ jobs:
if: ${{ contains(inputs.python-versions, 'pypy') }}
run: sudo apt install libpq5
- name: Install oldest supported versions
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.2.1
with:
command: pip install -r oldest/requirements.txt
- name: Run tests without xdist
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.2.1
with:
command: pytest -c pyproject.oldest.toml -svv -p no:xdist --postgresql-exec="/usr/lib/postgresql/${{ inputs.postgresql }}/bin/pg_ctl" -k "not docker" --cov-report=xml
- name: Run xdist test
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.2.1
with:
command: pytest -n auto -c pyproject.oldest.toml --dist loadgroup --max-worker-restart 0 --postgresql-exec="/usr/lib/postgresql/${{ inputs.postgresql }}/bin/pg_ctl" -k "not docker" --cov-report=xml:coverage-xdist.xml
- uses: actions/upload-artifact@v6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/single-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v4.2.1
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand All @@ -54,11 +54,11 @@ jobs:
if: ${{ contains(inputs.python-versions, 'pypy') }}
run: sudo apt install libpq5
- name: Run test
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.2.1
with:
command: pytest -svv -p no:xdist --postgresql-exec="/usr/lib/postgresql/${{ inputs.postgresql }}/bin/pg_ctl" -k "not docker" --cov-report=xml
- name: Run xdist test
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.1.1
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v4.2.1
with:
command: pytest -n auto --dist loadgroup --max-worker-restart 0 --postgresql-exec="/usr/lib/postgresql/${{ inputs.postgresql }}/bin/pg_ctl" -k "not docker" --cov-report=xml:coverage-xdist.xml
- uses: actions/upload-artifact@v6
Expand Down
Loading