Enable HTML test report #2383
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: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
entry: | |
- { os: ubuntu-latest, java: 11 } | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 11 | |
- name: Style check | |
run: sbt scalafmtCheckAll | |
- name: Set SBT_OPTS | |
# Needed to extend the JVM memory size to avoid OutOfMemoryError for HTML test report | |
run: echo "SBT_OPTS=-Xmx2G" >> $GITHUB_ENV | |
- name: Integ Test | |
run: sbt integtest/integration | |
- name: Upload test report | |
if: always() # Ensures the artifact is saved even if tests fail | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-reports | |
path: target/test-reports # Adjust this path if necessary |