Skip to content

Commit 5d2a759

Browse files
committed
For action fixes
1 parent 48d0681 commit 5d2a759

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
cache: 'pip'
2121
- run: |
2222
python -m pip install --upgrade pip
23-
pip install check ruff
23+
pip install ruff
2424
- name: Run Ruff
25-
run: ruff djangocms_attributes_field tests
25+
run: ruff check djangocms_attributes_field tests

.github/workflows/test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: [ 3.9, "3.10", "3.11", "3.12"] # latest release minus two
11+
python-version: [ "3.9", "3.10", "3.11", "3.12"] # latest release minus two
1212
requirements-file: [
1313
dj42_cms311.txt,
1414
dj42_cms41.txt,
@@ -18,6 +18,11 @@ jobs:
1818
os: [
1919
ubuntu-20.04,
2020
]
21+
exclude:
22+
- python-version: "3.9"
23+
requirements-file: dj50_cms41.txt
24+
- python-version: "3.9"
25+
requirements-file: dj51_cms41.txt
2126

2227
steps:
2328
- uses: actions/checkout@v1
@@ -33,7 +38,7 @@ jobs:
3338
python setup.py install
3439
3540
- name: Run coverage
36-
run: coverage run setup.py test
41+
run: coverage run tests/settings.py
3742

3843
- name: Upload Coverage to Codecov
3944
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)