diff --git a/.github/workflows/generate_coverage.yaml b/.github/workflows/generate_coverage.yaml index 9d6b2e511f4..a9e92395762 100644 --- a/.github/workflows/generate_coverage.yaml +++ b/.github/workflows/generate_coverage.yaml @@ -53,8 +53,22 @@ jobs: conda list - name: Build dpnp with coverage + id: build_coverage + uses: nick-fields/retry@v2.9.0 + with: + shell: bash + timeout_minutes: 60 + max_attempts: 5 + retry_on: error + command: | + . $CONDA/etc/profile.d/conda.sh + conda activate coverage + git clean -fxd + python scripts/gen_coverage.py --pytest-opts="--ignore tests/test_random.py" + + - name: Total number of coverage attempts run: | - python scripts/gen_coverage.py --pytest-opts="--ignore tests/test_random.py" + echo "Total number of coverage attempts made: ${{ steps.build_coverage.outputs.total_attempts }}" - name: Install coverall dependencies run: |