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
6 changes: 3 additions & 3 deletions .github/workflows/async-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
persist-credentials: false
- name: Set up Python ${{ inputs.python-version }}
uses: fizyk/actions-reuse/.github/actions/uv-setup@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-setup@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
python-version: ${{ inputs.python-version }}
# ankane/setup-postgres publishes no tags/releases; v1 is a branch. Pinning
Expand Down Expand Up @@ -65,12 +65,12 @@ jobs:
sudo locale-gen de_DE.UTF-8
- name: Run async tests on Unix
if: runner.os != 'Windows'
uses: fizyk/actions-reuse/.github/actions/uv-run@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-run@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
command: python -m pytest -svv -m asyncio -p no:xdist --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
- name: Run async tests on Windows
if: runner.os == 'Windows'
uses: fizyk/actions-reuse/.github/actions/uv-run@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-run@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
command: python -m pytest -svv -m asyncio -p no:xdist -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
automerge:
permissions: {}
cache-mode: none
uses: fizyk/actions-reuse/.github/workflows/shared-automerge.yml@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/workflows/shared-automerge.yml@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
secrets:
client_id: ${{ secrets.MERGE_APP_CLIENT_ID }}
private_key: ${{ secrets.MERGE_APP_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
build:
permissions:
contents: read # actions/checkout in the reusable workflow
uses: fizyk/actions-reuse/.github/workflows/shared-pypi.yml@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/workflows/shared-pypi.yml@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
dependency-manager: uv
2 changes: 1 addition & 1 deletion .github/workflows/diagram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
# Grant the action permission to write to the repository
permissions:
contents: write
uses: fizyk/actions-reuse/.github/workflows/shared-diagram.yml@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/workflows/shared-diagram.yml@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
4 changes: 2 additions & 2 deletions .github/workflows/dockerised-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
with:
persist-credentials: false
- name: Set up uv with python ${{ matrix.python-version }}
uses: fizyk/actions-reuse/.github/actions/uv-setup@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-setup@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
python-version: ${{ matrix.python-version }}
- name: Run test noproc fixture on docker
uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -n 0 --max-worker-restart 0 -k docker --postgresql-host=localhost --postgresql-port 5433 --postgresql-password=postgres
data-file: .coverage.docker
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 @@ -40,7 +40,7 @@ jobs:
with:
persist-credentials: false
- name: Set up uv with python ${{ matrix.python-version }}
uses: fizyk/actions-reuse/.github/actions/uv-setup@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-setup@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
python-version: ${{ matrix.python-version }}
cache: false
Expand All @@ -61,15 +61,15 @@ jobs:
if: ${{ contains(matrix.python-version, 'pypy') && runner.os == 'Linux' }}
run: sudo apt install libpq5
- name: Install oldest supported versions
uses: fizyk/actions-reuse/.github/actions/uv-pip@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-pip@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
requirements: oldest/requirements.txt
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -c pyproject.oldest.toml -svv -p no:xdist --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
data-file: .coverage.serial
output-file: coverage-serial.xml
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -n auto -c pyproject.oldest.toml --dist loadgroup --max-worker-restart 0 --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
coverage-config: .coveragerc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
pr-check:
permissions:
contents: read
uses: fizyk/actions-reuse/.github/workflows/shared-pr-check.yml@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/workflows/shared-pr-check.yml@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
dependency-manager: 'uv'
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
pre-commit:
permissions:
contents: read
uses: fizyk/actions-reuse/.github/workflows/shared-pre-commit.yml@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/workflows/shared-pre-commit.yml@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
2 changes: 1 addition & 1 deletion .github/workflows/release-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
schedule:
permissions:
contents: read
uses: fizyk/actions-reuse/.github/workflows/shared-release-schedule.yml@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/workflows/shared-release-schedule.yml@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
dependency-manager: 'uv'
newsfragments-required: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/single-postgres-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
persist-credentials: false
- name: Set up uv with python ${{ matrix.python-version }}
uses: fizyk/actions-reuse/.github/actions/uv-setup@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-setup@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
python-version: ${{ matrix.python-version }}
# ankane/setup-postgres publishes no tags/releases; v1 is a branch. Pinning
Expand All @@ -43,12 +43,12 @@ jobs:
- uses: ankane/setup-postgres@v1 # zizmor: ignore[unpinned-uses]
with:
postgres-version: ${{ inputs.postgresql }}
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -svv -p no:xdist -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
data-file: .coverage.serial
output-file: coverage-serial.xml
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -n auto --dist loadgroup --max-worker-restart 0 -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
coverage-config: .coveragerc
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 @@ -39,7 +39,7 @@ jobs:
with:
persist-credentials: false
- name: Set up uv with python ${{ matrix.python-version }}
uses: fizyk/actions-reuse/.github/actions/uv-setup@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
uses: fizyk/actions-reuse/.github/actions/uv-setup@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
python-version: ${{ matrix.python-version }}
# ankane/setup-postgres publishes no tags/releases; v1 is a branch. Pinning
Expand Down Expand Up @@ -77,12 +77,12 @@ jobs:
- name: install libpq
if: ${{ contains(matrix.python-version, 'pypy') && runner.os == 'Linux' }}
run: sudo apt install libpq5
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -svv -p no:xdist --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
data-file: .coverage.serial
output-file: coverage-serial.xml
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@432d7575c4cc00724bb43d408cc75e2830c51ae2 # v5.9.0
- uses: fizyk/actions-reuse/.github/actions/uv-pytest-coverage@a910bc71a0ba28e2d6c5c458df0719e093988e7f # v5.10.0
with:
pytest-opts: -n auto --dist loadgroup --max-worker-restart 0 --postgresql-exec="${{ env.POSTGRESQL_EXEC }}" -k "not docker" --basetemp="${{ runner.temp }}/pytest-basetemp"
coverage-config: .coveragerc
Expand Down
Loading