diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dc2ff1cb..fd79a987 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,16 +71,27 @@ jobs: fail_ci_if_error: true verbose: true - - name: Store coverage file - uses: actions/upload-artifact@v3 - with: - name: coverage - path: .coverage.${{ matrix.python-version }} + + - name: Debug file existence + run: | + ls -la + file .coverage.3.10 + stat .coverage.3.10 + pwd - name: Check coverage file run: | ls -l .coverage.${{ matrix.python-version }} echo "Coverage file exists: ${{ runner.os }}-${{ matrix.python-version }}" + + - name: Wait for file + run: sleep 5 + + - name: Store coverage file + uses: actions/upload-artifact@v3 + with: + name: coverage + path: .coverage.${{ matrix.python-version }} # Coverage job to comment on PRs and update README badge