Skip to content

Commit

Permalink
ci(github): silly attempt on (independent) parallel jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
skaldarnar committed Sep 3, 2023
1 parent 4dbbba9 commit 2911d65
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,38 @@ jobs:
run: ./gradlew distForLauncher
- name: Unit Tests
run: ./gradlew unitTest
- name: Integration Tests
run: ./gradlew integrationTest
- name: Static Code Analysis
run: ./gradlew check -x test
- name: API Documentation
run: ./gradlew javadoc
- name: Publish
run: echo "TODO"

integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Integration Tests
run: ./gradlew integrationTest
code-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Static Code Analysis
run: ./gradlew check -x test

0 comments on commit 2911d65

Please sign in to comment.