testing: upgrade dependencies #224
Workflow file for this run
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: Java exercise | |
on: | |
- push | |
- pull_request | |
jobs: | |
java-exercise: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
java: | |
- '11' | |
- '17' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: compile | |
working-directory: topics/testing/code | |
run: mvn install -DskipTests=true | |
- name: lint | |
working-directory: topics/testing/code | |
run: mvn pmd:check | |
- name: check format | |
working-directory: topics/testing/code | |
run: mvn spotless:check | |
- name: run tests | |
working-directory: topics/testing/code | |
run: mvn test | |
- name: run integration tests | |
working-directory: topics/testing/code | |
run: mvn verify |