From 0742d475bcb788c875022c4606a3f2022eb472e1 Mon Sep 17 00:00:00 2001 From: t-bltg Date: Sun, 22 Aug 2021 12:00:12 +0200 Subject: [PATCH] CI: julia-uploadcodecov is deprecated (#3761) --- .github/workflows/ci.yml | 9 +++++---- .github/workflows/codecov.yml | 2 ++ .github/workflows/{format.yml => format.yml.disabled} | 3 +-- 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/codecov.yml rename .github/workflows/{format.yml => format.yml.disabled} (86%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 584bd3fd..f43d86f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,10 +76,11 @@ jobs: $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("StatsPlots"); Pkg.test("StatsPlots")' $TESTCMD -e 'using Pkg; Pkg.activate(tempdir()); Pkg.develop(path=abspath(".")); Pkg.add("GraphRecipes"); Pkg.test("GraphRecipes")' - - name: Codecov - uses: julia-actions/julia-uploadcodecov@latest - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + # Codecov + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info Skip: if: "contains(github.event.head_commit.message, '[skip ci]')" diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 00000000..e00ce3d6 --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,2 @@ +github_checks: + annotations: false diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml.disabled similarity index 86% rename from .github/workflows/format.yml rename to .github/workflows/format.yml.disabled index c7e074bb..9fae7be9 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml.disabled @@ -5,8 +5,7 @@ on: jobs: JuliaFormatter: - if: false - # if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: "!contains(github.event.head_commit.message, '[skip ci]')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2