From c4bb275b69902147a7732b31f0bd2b0e149adcc9 Mon Sep 17 00:00:00 2001 From: Michael Johns Date: Wed, 1 May 2024 15:54:35 -0400 Subject: [PATCH 1/4] Update action.yml as per recent instructions for codecov token handling. --- .github/actions/scala_build/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/scala_build/action.yml b/.github/actions/scala_build/action.yml index 8a0d20359..c1fef7d6f 100644 --- a/.github/actions/scala_build/action.yml +++ b/.github/actions/scala_build/action.yml @@ -45,7 +45,9 @@ runs: run: sudo mvn -q clean install -DskipTests -Dscoverage.skip - name: Publish test coverage if: inputs.skip_tests == 'false' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Copy Scala artifacts to GH Actions run shell: bash run: | From 241aa7c8de8188a226423127ff68feb45393ec2e Mon Sep 17 00:00:00 2001 From: Michael Johns Date: Thu, 2 May 2024 05:48:46 -0400 Subject: [PATCH 2/4] Update action.yml moving codecov to workflows for secrets handling --- .github/actions/scala_build/action.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/actions/scala_build/action.yml b/.github/actions/scala_build/action.yml index c1fef7d6f..f70504e24 100644 --- a/.github/actions/scala_build/action.yml +++ b/.github/actions/scala_build/action.yml @@ -43,11 +43,6 @@ runs: if: inputs.skip_tests == 'true' shell: bash run: sudo mvn -q clean install -DskipTests -Dscoverage.skip - - name: Publish test coverage - if: inputs.skip_tests == 'false' - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - name: Copy Scala artifacts to GH Actions run shell: bash run: | From ab1eb38e7a29470cca56854c72e4e7c0ab4f3cbc Mon Sep 17 00:00:00 2001 From: Michael Johns Date: Thu, 2 May 2024 05:50:48 -0400 Subject: [PATCH 3/4] Update build_scala.yml codecov to workflows --- .github/workflows/build_scala.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_scala.yml b/.github/workflows/build_scala.yml index 0269130d8..ba464022e 100644 --- a/.github/workflows/build_scala.yml +++ b/.github/workflows/build_scala.yml @@ -23,3 +23,7 @@ jobs: uses: ./.github/actions/scala_build - name: upload artefacts uses: ./.github/actions/upload_artefacts + - name: Publish test coverage + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} From aa0f1f843304dfb56121b6374124e872ce8e1a95 Mon Sep 17 00:00:00 2001 From: Michael Johns Date: Thu, 2 May 2024 08:11:02 -0400 Subject: [PATCH 4/4] Update build_main.yml temporarily commenting out R build. --- .github/workflows/build_main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_main.yml b/.github/workflows/build_main.yml index f1088a5b6..fc7c5f6eb 100644 --- a/.github/workflows/build_main.yml +++ b/.github/workflows/build_main.yml @@ -28,7 +28,8 @@ jobs: uses: ./.github/actions/scala_build - name: build python uses: ./.github/actions/python_build - - name: build R - uses: ./.github/actions/r_build + # CRAN FLAKY (502 'Bad Gateway' ERRORS) + # - name: build R + # uses: ./.github/actions/r_build - name: upload artefacts uses: ./.github/actions/upload_artefacts