diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index fbfde58d3..bc6225c98 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 @@ -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: @@ -87,4 +87,4 @@ jobs: pip install .[docs,strict] - name: Build - run: sphinx-build -W docs _build \ No newline at end of file + run: sphinx-build -W docs _build