Skip to content

Commit

Permalink
Split test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKora committed Sep 21, 2023
1 parent b390fc5 commit 180e9d3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/java-gradle-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ jobs:
working-directory: ${{ inputs.working-directory }}

test:
name: Test and asses code quality
name: Test
runs-on: ubuntu-22.04
needs: build

steps:
- name: Run unit tests
uses: bakdata/ci-templates/actions/java-gradle-test@feat/split-test
Expand All @@ -98,6 +97,12 @@ jobs:
java-distribution: ${{ inputs.java-distribution }}
java-version: ${{ inputs.java-version }}
working-directory: ${{ inputs.working-directory }}

assess-code:
name: Asses code quality
runs-on: ubuntu-22.04
needs: test
steps:
- name: Assess code quality
uses: bakdata/ci-templates/actions/java-gradle-assess-code-quality@feat/split-test
# uses: bakdata/ci-templates/actions/[email protected]
Expand All @@ -116,7 +121,7 @@ jobs:
build-jib:
name: Build tarball image
runs-on: ubuntu-22.04
needs: test
needs: assess-code

steps:
- name: Build tarball image
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/java-gradle-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ jobs:
name: Test
runs-on: ubuntu-22.04
needs: build

steps:
- name: Run unit tests
- name: Run unit tests
uses: bakdata/ci-templates/actions/java-gradle-test@feat/split-test
# uses: bakdata/ci-templates/actions/[email protected]
with:
Expand All @@ -89,7 +88,7 @@ jobs:
java-version: ${{ inputs.java-version }}
working-directory: ${{ inputs.working-directory }}

asses-code:
assess-code:
name: Asses code quality
runs-on: ubuntu-22.04
needs: test
Expand All @@ -112,7 +111,7 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-22.04
needs: asses-code
needs: assess-code

steps:
- name: Publish
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/java-gradle-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ jobs:
working-directory: ${{ inputs.working-directory }}

test:
name: Test and asses code quality
name: Test
runs-on: ubuntu-22.04
needs: build

steps:
- name: Run unit tests
uses: bakdata/ci-templates/actions/java-gradle-test@feat/split-test
Expand All @@ -94,6 +93,12 @@ jobs:
java-distribution: ${{ inputs.java-distribution }}
java-version: ${{ inputs.java-version }}
working-directory: ${{ inputs.working-directory }}

assess-code:
name: Asses code quality
runs-on: ubuntu-22.04
needs: test
steps:
- name: Assess code quality
uses: bakdata/ci-templates/actions/java-gradle-assess-code-quality@feat/split-test
# uses: bakdata/ci-templates/actions/[email protected]
Expand All @@ -112,7 +117,7 @@ jobs:
publish:
name: Publish
runs-on: ubuntu-22.04
needs: test
needs: assess-code

steps:
- name: Publish
Expand Down

0 comments on commit 180e9d3

Please sign in to comment.