This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push: new b228aea Test GH actions workflow for Codecov coverage b228aea is described below commit b228aea7f7494a42e60382004ba6cd381941bc4e Author: Alex Herbert <aherb...@apache.org> AuthorDate: Sun Feb 13 21:30:40 2022 +0000 Test GH actions workflow for Codecov coverage --- .github/workflows/{coveralls.yml => coverage.yml} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coverage.yml similarity index 86% rename from .github/workflows/coveralls.yml rename to .github/workflows/coverage.yml index 8ce69b4..b956916 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coverage.yml @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: Coveralls +name: Coverage on: [push, pull_request] @@ -39,9 +39,9 @@ jobs: distribution: adopt java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn -V test --file pom.xml --no-transfer-progress + run: mvn -V test jacoco:report --file pom.xml --no-transfer-progress - - name: Coveralls - uses: coverallsapp/github-action@1.1.3 + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + files: ./target/site/jacoco/jacoco.xml