Skip to content

Commit 7f78dd0

Browse files
ci: pre-commit autoupdate (#267)
* ci: pre-commit autoupdate updates: - [github.com/adamchainz/django-upgrade: 1.23.1 → 1.24.0](adamchainz/django-upgrade@1.23.1...1.24.0) - [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.11.8](astral-sh/ruff-pre-commit@v0.9.9...v0.11.8) * Update test.yml * Update test.yml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Braun <[email protected]>
1 parent 47ba15e commit 7f78dd0

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
unit-tests:
1313
name: Python ${{ matrix.python-version }}
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515

1616
strategy:
1717
matrix:
@@ -20,6 +20,7 @@ jobs:
2020
- '3.10'
2121
- '3.11'
2222
- '3.12'
23+
- '3.13'
2324

2425
steps:
2526
- uses: actions/checkout@v4
@@ -85,13 +86,13 @@ jobs:
8586
strategy:
8687
fail-fast: false
8788
matrix:
88-
python-version: ['3.11']
89+
python-version: ['3.13']
8990
requirements-file: [
9091
'py311-djmain-cms41-default.txt',
9192
'py311-djmain-cms41-versioning.txt',
9293
]
9394
os: [
94-
ubuntu-20.04,
95+
ubuntu-latest,
9596
]
9697

9798
steps:
@@ -105,8 +106,8 @@ jobs:
105106
run: |
106107
python -m pip install --upgrade pip
107108
pip install -r tests/requirements/${{ matrix.requirements-file }}
108-
python setup.py install
109+
pip install -e .
109110
110111
- name: Run coverage
111-
run: coverage run setup.py test
112+
run: coverage run ./test_settings.py
112113
continue-on-error: true

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ repos:
1515
args: ["--py38-plus"]
1616

1717
- repo: https://github.com/adamchainz/django-upgrade
18-
rev: '1.23.1'
18+
rev: '1.24.0'
1919
hooks:
2020
- id: django-upgrade
2121
args: [--target-version, "3.2"]
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: v0.9.9
24+
rev: v0.11.8
2525
hooks:
2626
- id: ruff
2727
args: [--fix, --exit-non-zero-on-fix]

0 commit comments

Comments
 (0)