Run Integration Tests on GitHub Actions #84
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: build | |
on: | |
pull_request | |
jobs: | |
build-project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: "Run Databroker" | |
run: docker run --pull=always --rm --publish 55556:55556/tcp --detach ghcr.io/eclipse/kuksa.val/databroker:master --port 55556 --insecure | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Run 'assemble' with Gradle Wrapper | |
run: ./gradlew assemble | |
- name: Run 'check' with Gradle Wrapper | |
run: ./gradlew ktlintCheck detekt | |
- name: Run 'test' with Gradle Wrapper | |
run: ./gradlew test -Dkotest.tags="!Secure" |