Update datasafe-simple-adapter-spring test files #41
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: Actions on pull requests | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
jobs: | |
pull-request-job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Checkout repository code | |
uses: actions/checkout@v4 | |
- name: Step 2 - Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Step 3 - Cache Docker images. | |
uses: ScribeMD/[email protected] | |
with: | |
key: docker-${{ runner.os }} | |
- name: Step 4 - Build & Test | |
run: mvn clean verify -ntp | |
- name: Step 5 - Upload coverage unittests reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
gcov_ignore: '!*datasafe-business*' | |
flags: unittests | |
verbose: true | |
- name: Step 6 - Upload coverage e2e tests reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
gcov_include: '*datasafe-business*' | |
flags: e2e_tests | |
verbose: true |