fix: #86 sample 04 terminating on startup #192
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: Test Code (Style, Tests) | ||
on: | ||
push: | ||
pull_request: | ||
branches: [ main ] | ||
paths-ignore: | ||
- '**.md' | ||
- 'docs/**' | ||
- 'CODEOWNERS' | ||
- 'LICENSE' | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
Checkstyle: | ||
permissions: | ||
id-token: write | ||
checks: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-build | ||
- name: Run Checkstyle | ||
run: ./gradlew checkstyleMain checkstyleTest | ||
Build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-build | ||
- name: Build project | ||
run: ./gradlew build | ||
End-To-End-Tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/setup-build | ||
- name: End to End Integration Tests | ||
uses: ./.github/actions/run-tests | ||
with: | ||
command: | ||
- ./gradlew build -x test | ||
Check failure on line 50 in .github/workflows/verify.yaml GitHub Actions / Test Code (Style, Tests)Invalid workflow file
|
||
- ./gradlew test -DincludeTags="EndToEndTest" | ||
Upload-Test-Report: | ||
needs: | ||
- End-To-End-Tests | ||
permissions: | ||
checks: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
if: always() | ||
steps: | ||
- name: Download Artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
path: artifacts | ||
- name: Publish Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
if: always() | ||
with: | ||
junit_files: "**/test-results/**/*.xml" |