Skip to content

Commit

Permalink
Add parallel tests to git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejbrown committed Sep 24, 2024
1 parent 4bb7d95 commit 4bbd7d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
# When running with act (https://github.com/nektos/act), these lines need to be appended with the ACT variable
# to force each job to run
if: github.repository == 'adobe/buildrunner' #|| ${{ env.ACT }}
if: github.repository == 'adobe/buildrunner' || github.repository == 'shanejbrown/buildrunner' #|| ${{ env.ACT }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
chmod 700 ~/.ssh
chmod 600 ~/.ssh/buildrunner-deploy-*
- name: Test with pytest
run: pytest -v --junitxml=test-reports/test-results.xml
run: pytest -v --numprocesses=auto -junitxml=test-reports/test-results.xml
- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: always()
Expand Down

0 comments on commit 4bbd7d9

Please sign in to comment.