Update README.md #1074
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: Development branches | |
on: | |
pull_request: | |
push: | |
branches: | |
- '*' | |
- '**/*' | |
- '!master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: maven | |
- name: Prepare mvnw | |
run: chmod +x ./mvnw | |
- name: Build | |
run: ./mvnw clean package -ntp | |
- name: Run integration tests and generate coverage reports | |
run: ./mvnw -Pitest verify failsafe:verify -ntp | |
- name: Upload coverage to Codecov | |
if: github.event_name == 'push' && github.actor != 'dependabot[bot]' | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{secrets.CODECOV_TOKEN}} | |
- name: Upload test coverage to Codacy | |
if: github.event_name == 'push' && github.actor != 'dependabot[bot]' | |
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) | |
env: | |
CODACY_PROJECT_TOKEN: "${{secrets.CODACY_PROJECT_TOKEN}}" |