increase shards to 4

This commit is contained in:
aya 2024-12-15 10:37:08 +02:00
parent 9cd19cdc8e
commit b1288391c8

View File

@ -37,7 +37,7 @@ jobs:
name: tests name: tests
strategy: strategy:
matrix: matrix:
shard: [ 0,1 ] shard: [ 0,1,2,3 ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 120 timeout-minutes: 120
steps: steps:
@ -56,7 +56,7 @@ jobs:
- name: Run tests - name: Run tests
run: | run: |
pytest --dist loadgroup --reruns 2 --shard-id=1 --num-shards=2 --alluredir=allure-results pytest --dist loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=2 --alluredir=allure-results
- name: Get allure history - name: Get allure history
if: always() if: always()