Skip to content

Commit

Permalink
Merge pull request #43 from JaGeo/JaGeo-patch-1
Browse files Browse the repository at this point in the history
Reduce test splits
  • Loading branch information
JaGeo authored Mar 22, 2024
2 parents 2a1662e + 6686bfc commit 3053940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
split: [1, 2, 3, 4, 5] # Number of splits
split: [1, 2, 3, 4] # Number of splits

steps:
- uses: actions/checkout@v3
Expand All @@ -41,7 +41,7 @@ jobs:
run: |
# run the line below locally to update tests durations file
# pytest --cov=autoplex --cov-append --splits 1 --group 1 --durations-path ./tests/test_data/.pytest-split-durations --store-durations
pytest --cov=autoplex --cov-report term-missing --cov-append --splits 5 --group ${{ matrix.split }} -vv --durations-path ./tests/test_data/.pytest-split-durations
pytest --cov=autoplex --cov-report term-missing --cov-append --splits 4 --group ${{ matrix.split }} -vv --durations-path ./tests/test_data/.pytest-split-durations
- name: Upload coverage
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -87,4 +87,4 @@ jobs:
pip install .[docs,strict]
- name: Build
run: sphinx-build -W docs _build
run: sphinx-build -W docs _build

0 comments on commit 3053940

Please sign in to comment.