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
4 changes: 0 additions & 4 deletions .github/workflows/dockerised-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Run test noproc fixture on docker
uses: fizyk/actions-reuse/.github/actions/pipenv@v3.0.2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oldest-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install oldest supported versions
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v3.1.0
with:
command: pip install -r oldest-requirements.txt
command: pip install -r oldest/requirements.txt
- name: Run tests without xdist
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v3.1.0
with:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/single-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
POSTGRES: ${{ inputs.postgresql }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- name: Set up Pipenv on python ${{ matrix.python-version }}
uses: fizyk/actions-reuse/.github/actions/pipenv-setup@v3.1.0
with:
python-version: ${{ matrix.python-version }}
- uses: ankane/setup-postgres@v1
Expand All @@ -53,14 +53,12 @@ jobs:
if: ${{ contains(inputs.python-versions, 'pypy') }}
run: sudo apt install libpq5
- name: Run test
uses: fizyk/actions-reuse/.github/actions/pipenv@v3.0.2
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v3.1.0
with:
python-version: ${{ matrix.python-version }}
command: py.test -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@v3.0.2
uses: fizyk/actions-reuse/.github/actions/pipenv-run@v3.1.0
with:
python-version: ${{ matrix.python-version }}
command: py.test -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@v4
if: failure()
Expand Down
1 change: 1 addition & 0 deletions newsfragments/+bda84735.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test pipeline optimisations
File renamed without changes.
Loading