Skip to content

Commit

Permalink
move parallel settings to workflow (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariostieriansys authored Oct 15, 2024
1 parent d72f4be commit b6ebee1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
requires-xvfb: true
pytest-extra-args: "-n 4 --reruns 3"

- uses: codecov/codecov-action@v3
name: 'Upload coverage to CodeCov'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
requires-xvfb: true
pytest-extra-args: "-n 4 --reruns 3"

- uses: codecov/codecov-action@v3
name: 'Upload coverage to CodeCov'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ minversion = "7.1"
testpaths = [
"tests",
]
addopts = "-n 4 --reruns 3 --setup-show --cov=ansys.pyensight.core --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
addopts = "--setup-show --cov=ansys.pyensight.core --cov-report html:coverage-html --cov-report term --cov-config=.coveragerc --capture=tee-sys --tb=native -p no:warnings"
markers =[
"integration:Run integration tests",
"smoke:Run the smoke tests",
Expand Down

0 comments on commit b6ebee1

Please sign in to comment.