Skip to content

Commit

Permalink
Multi-process the tests. (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein authored May 9, 2024
1 parent 0c2d51b commit 16ddbbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: quantco/pytest-action@v2
with:
report-title: Unit Tests - ${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Windows' }} - Python ${{ matrix.python-version }}
custom-arguments: --cov=metalearners --cov-report=xml --cov-report term-missing --color=yes
custom-arguments: -n auto --cov=metalearners --cov-report=xml --cov-report term-missing --color=yes
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
# Testing
- pytest >=6 # Adds --import-mode option
- pytest-cov
- pytest-xdist
## Numerical
# First version to add the return_indices parameter to cross_validate.
- scikit-learn>=1.3
Expand Down

0 comments on commit 16ddbbf

Please sign in to comment.