diff --git a/.github/codecov.yml b/.github/codecov.yml index 31402461a072cb1ebf61de763dab07562387fa00..d259debd2cb1e8ff9f80c755d65a980584857a0d 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -19,3 +19,9 @@ component_management: - cvat-sdk/** - utils/** +codecov: + require_ci_to_pass: yes + notify: + wait_for_ci: yes + after_n_builds: 16 + diff --git a/.github/workflows/full.yml b/.github/workflows/full.yml index 5faf726e3676321baa70cfc3e87ede282a8ec109..598245b9450d76b35f33ac5689068b67f32a2b2c 100644 --- a/.github/workflows/full.yml +++ b/.github/workflows/full.yml @@ -175,6 +175,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from cvat containers if: failure() && steps.run_tests.conclusion == 'failure' @@ -241,6 +243,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from cvat containers if: failure() @@ -346,6 +350,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from "cvat" container logs if: failure() diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 63a94f25440e88204852df0837ef4872fcd4fcbe..928ed0a3b612ba2aa94473eb4ad01f373a1ca445 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -168,6 +168,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from cvat containers if: failure() && steps.run_tests.conclusion == 'failure' @@ -232,6 +234,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from cvat containers if: failure() @@ -335,6 +339,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from "cvat" container logs if: failure() diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index ab7297b56011dc33bf52d0389411b7fb9f188200..80808b29159e32f30df19f721c68571982392ac8 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -197,6 +197,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} e2e_testing: needs: build @@ -312,6 +314,8 @@ jobs: - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Creating a log file from "cvat" container logs if: failure()