Skip to content

Commit

Permalink
parallelize pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Feb 8, 2024
1 parent d024b25 commit 5972590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ jobs:
python-version: "3.11"

- name: Install Python dependencies
run: python -m pip install --upgrade pip pytest-workflow cryptography
run: python -m pip install --upgrade pip pytest-workflow cryptography pytest-xdist

- uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
# Test the module
- name: Run pytest-workflow
# only use one thread for pytest-workflow to avoid race condition on conda cache.
run: TMPDIR=~ PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --kwdof --git-aware --color=yes
run: TMPDIR=~ PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --kwdof --git-aware --color=yes -n 4

- name: Output log on failure
if: failure()
Expand Down

0 comments on commit 5972590

Please sign in to comment.