TRIB-289: adds AttributesApplyPhraseToUser DTO and in review notifica… #346
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: CodeCov Coverage Collection | |
on: | |
push: | |
branches: | |
- "main" | |
- "develop" | |
- "feature/*" | |
pull_request: | |
branches: | |
- "main" | |
- "develop" | |
- "feature/*" | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 22 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '22' | |
distribution: 'temurin' | |
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | |
settings-path: ${{ github.workspace }} # location for the settings.xml file | |
- name: Install dependencies | |
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
- name: Run tests and collect coverage | |
run: mvn -B verify | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |