From d0f4d78e5cc05f7eabf3590083bd8ccd0d1f9d77 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:47:02 +0100 Subject: [PATCH] Add codecov token and documenter key --- .github/workflows/docs.yml | 1 + .github/workflows/test.yml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bca19e34..1296ebe0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,6 +26,7 @@ jobs: - uses: julia-actions/julia-docdeploy@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - run: | julia --project=docs -e ' using Documenter: DocMeta, doctest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d45d303d..840f8ef9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,6 +33,8 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v4 with: - files: lcov.info \ No newline at end of file + files: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true \ No newline at end of file