Skip to content

Commit b2fe27b

Browse files
committedFeb 1, 2025
Lets run in parallel and see
1 parent ab70005 commit b2fe27b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎.github/workflows/django.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ jobs:
3333
run: mypy --config mypy.ini styleguide_example/
3434

3535
tests:
36+
strategy:
37+
fail-fast: true
38+
matrix:
39+
groups: [1, 2, 3, 4, 5]
3640
runs-on: ubuntu-latest
3741
services:
3842
postgres:
@@ -49,7 +53,7 @@ jobs:
4953
- uses: actions/checkout@v4
5054
- uses: ./.github/workflows/python_and_pip
5155
- name: Run tests
52-
run: pytest --nomigrations
56+
run: pytest -s -n auto --splits 5 --group ${{ matrix.groups }} --splitting-algorithm least_duration
5357

5458
deploy_to_heroku:
5559
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)
Please sign in to comment.