diff --git a/.github/workflows/test-bridge.yml b/.github/workflows/test-bridge.yml index 7aa16de..e5af6e9 100644 --- a/.github/workflows/test-bridge.yml +++ b/.github/workflows/test-bridge.yml @@ -37,14 +37,19 @@ jobs: echo "Running madara...." ./run_madara.sh + - name: Check if token is accessible + run: | + echo "Token : ${{ secrets.CODECOV_TOKEN }} here" + - name: Run tests run: | echo "Running test...." cargo tarpaulin --out Html sleep 5 # sleeping for few secs to ensure the coverage file is generated. - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 with: - verbose: true - fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}