Change number of shards to 5

This commit is contained in:
aya 2024-12-24 18:01:03 +02:00
parent 3730872dc5
commit d70841895f

View File

@ -37,7 +37,7 @@ jobs:
name: tests name: tests
strategy: strategy:
matrix: matrix:
shard: [ 0,1,2,3 ] shard: [ 0,1,2,3,4 ]
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=${{ matrix.shard }} --num-shards=4 --alluredir=allure-results pytest --dist=loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=5 --alluredir=allure-results
- name: Get allure history - name: Get allure history
if: always() if: always()
@ -82,7 +82,7 @@ jobs:
with: with:
name: allure-results-${{ matrix.shard }} name: allure-results-${{ matrix.shard }}
path: allure-results/ path: allure-results/
- name: Create job summary - name: Create job summary
if: always() if: always()
env: env: