Skip to content

Commit 3710a5e

Browse files
committed
chore(deps):update
1 parent f38ce6b commit 3710a5e

File tree

1 file changed

+42
-47
lines changed

1 file changed

+42
-47
lines changed

.github/workflows/test.yml

Lines changed: 42 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -31,50 +31,6 @@ jobs:
3131
run: |
3232
poetry run flake8 scheduler/
3333
34-
testFakeRedis:
35-
needs: [ 'flake8' ]
36-
runs-on: ubuntu-latest
37-
strategy:
38-
max-parallel: 6
39-
matrix:
40-
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
41-
django-version: [ '3.2.22', '4.2.7' ]
42-
exclude:
43-
- python-version: '3.12'
44-
django-version: '3.2.22'
45-
outputs:
46-
version: ${{ steps.getVersion.outputs.VERSION }}
47-
steps:
48-
- uses: actions/checkout@v4
49-
- name: Set up Python ${{ matrix.python-version }}
50-
uses: actions/setup-python@v4
51-
with:
52-
python-version: ${{ matrix.python-version }}
53-
cache-dependency-path: poetry.lock
54-
- name: Install poetry and dependencies
55-
shell: bash
56-
run: |
57-
python -m pip --quiet install poetry
58-
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
59-
poetry install -E yaml
60-
poetry run pip install django==${{ matrix.django-version }}
61-
62-
- name: Get version
63-
id: getVersion
64-
shell: bash
65-
run: |
66-
VERSION=$(poetry version -s --no-ansi -n)
67-
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
68-
- name: Check for missing migrations
69-
run: |
70-
cd testproject
71-
poetry run python manage.py makemigrations --check
72-
- name: Run Tests without coverage
73-
run: |
74-
cd testproject
75-
export FAKEREDIS=True
76-
poetry run python manage.py test scheduler
77-
7834
testRedis:
7935
needs: [ 'flake8' ]
8036
runs-on: ubuntu-latest
@@ -87,9 +43,6 @@ jobs:
8743
- python-version: '3.11'
8844
django-version: '4.2.7'
8945
coverage: yes
90-
exclude:
91-
- python-version: '3.12'
92-
django-version: '3.2.22'
9346
services:
9447
redis:
9548
image: redis:7.2.0
@@ -166,3 +119,45 @@ jobs:
166119
- uses: release-drafter/release-drafter@v5
167120
env:
168121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122+
123+
124+
testFakeRedis:
125+
needs: [ 'flake8' ]
126+
runs-on: ubuntu-latest
127+
strategy:
128+
max-parallel: 6
129+
matrix:
130+
python-version: [ '3.9', '3.10', '3.11' ]
131+
django-version: [ '3.2.22', '4.2.7' ]
132+
outputs:
133+
version: ${{ steps.getVersion.outputs.VERSION }}
134+
steps:
135+
- uses: actions/checkout@v4
136+
- name: Set up Python ${{ matrix.python-version }}
137+
uses: actions/setup-python@v4
138+
with:
139+
python-version: ${{ matrix.python-version }}
140+
cache-dependency-path: poetry.lock
141+
- name: Install poetry and dependencies
142+
shell: bash
143+
run: |
144+
python -m pip --quiet install poetry
145+
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
146+
poetry install -E yaml
147+
poetry run pip install django==${{ matrix.django-version }}
148+
149+
- name: Get version
150+
id: getVersion
151+
shell: bash
152+
run: |
153+
VERSION=$(poetry version -s --no-ansi -n)
154+
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
155+
- name: Check for missing migrations
156+
run: |
157+
cd testproject
158+
poetry run python manage.py makemigrations --check
159+
- name: Run Tests without coverage
160+
run: |
161+
cd testproject
162+
export FAKEREDIS=True
163+
poetry run python manage.py test scheduler

0 commit comments

Comments
 (0)