You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/06/29 18:27:40 UTC
(commons-configuration) branch master updated: Drop codecov.io
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push:
new 95f8f0e3 Drop codecov.io
95f8f0e3 is described below
commit 95f8f0e3f70b5ac9ead79b3b960dc4c7d9e3e3cf
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 29 14:27:35 2024 -0400
Drop codecov.io
- It now requires an API key and a login to view reports
- Instead, use 'mvn clean install site -P jacoco' to view JaCoCo HTML
reports
---
.github/workflows/coverage.yml | 47 ------------------------------------------
README.md | 1 -
2 files changed, 48 deletions(-)
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
deleted file mode 100644
index 0def4791..00000000
--- a/.github/workflows/coverage.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-name: Coverage
-
-on: [push, pull_request]
-
-permissions:
- contents: read
-
-jobs:
- build:
-
- runs-on: ubuntu-latest
- strategy:
- matrix:
- java: [ 8 ]
-
- steps:
- - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- with:
- persist-credentials: false
- - name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
- with:
- distribution: 'temurin'
- java-version: ${{ matrix.java }}
- cache: 'maven'
- - name: Build with Maven
- run: mvn --show-version --batch-mode --no-transfer-progress test jacoco:report
-
- - name: Upload coverage to Codecov
- uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v3
- with:
- files: ./target/site/jacoco/jacoco.xml
diff --git a/README.md b/README.md
index a0276fdf..c250e21f 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,6 @@ Apache Commons Configuration
===================
[](https://github.com/apache/commons-configuration/actions/workflows/maven.yml)
-[](https://app.codecov.io/gh/apache/commons-configuration)
[](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-configuration2/?gav=true)
[](https://javadoc.io/doc/org.apache.commons/commons-configuration2/2.11.0)
[](https://github.com/apache/commons-configuration/actions/workflows/codeql-analysis.yml)