Skip to content

Commit

Permalink
SP-34 Test within the same job
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Aug 8, 2022
1 parent 61a1405 commit b8d65b2
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'master'

jobs:
build:
build-and-test:
runs-on: ubuntu-latest

strategy:
Expand All @@ -21,19 +21,6 @@ jobs:
distribution: 'corretto'
- name: Build with Maven
run: mvn compile
test:
runs-on: ubuntu-latest

strategy:
matrix:
java-version: [8, 11, 17]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: 'corretto'
- name: Test with Maven
- name: Test
run: mvn test

0 comments on commit b8d65b2

Please sign in to comment.