Test: see if running jobs in parallel is causing issues with maven #1388
This file contains hidden or 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: Unit Test | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - 'master' | |
| - 'DEVELOPMENT*' | |
| jobs: | |
| junit: | |
| name: Junit (Java ${{ matrix.jdk-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| jdk-version: [8,11,17] | |
| max-parallel: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Java ${{ matrix.jdk-version }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.jdk-version }} | |
| architecture: x64 | |
| - run: mvn test -B -pl yoti-sdk-api -Ddependency-check.skip=true |