Config file format to json. Extract BitHelper. Rename some configurat… #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: code coverage | |
on: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
pull_request: | |
branches: | |
- '*' | |
env: | |
javaversion: '21' | |
javadistribution: 'temurin' | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ env.javaversion }} ${{ env.javadistribution }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ env.javaversion }} | |
distribution: ${{ env.javadistribution }} | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B --update-snapshots test package jacoco:report --file pom.xml | |
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive | |
- name: Update dependency graph | |
uses: advanced-security/maven-dependency-submission-action@0b9cd8f382c5d2016fa77ebf8a0f2804452fefef | |
# https://github.com/marketplace/actions/coveralls-github-action | |
- name: Coveralls GitHub Action | |
run: mvn -B coveralls:report --define repoToken=${{ secrets.COVERALLS_TOKEN }} | |
# https://github.com/coverallsapp/github-action/issues/22 | |
# uses: coverallsapp/github-action@1.1.3 | |
# with: | |
# github-token: ${{ secrets.COVERALLS_TOKEN }} | |
# Using lcov file: ./coverage/lcov.info | |
# Error: Lcov file not found. | |
# https://github.com/codecov/codecov-action | |
- name: Codecov GitHub Action | |
uses: codecov/codecov-action@v3.1.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |