-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move end-to-end tests to a separate workflow (#1052)
Signed-off-by: Norman Jordan <norman.jordan@improving.com> (cherry picked from commit 0dc2d2a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
261d106
commit fda450d
Showing
3 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: End-to-End Tests | ||
|
||
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: Set up SBT | ||
uses: sbt/setup-sbt@v1 | ||
|
||
- 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: End-to-End Test | ||
run: sbt e2etest/test | ||
|
||
- name: Upload test report | ||
if: always() # Ensures the artifact is saved even if tests fail | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-reports | ||
path: target/test-reports # Adjust this path if necessary |
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
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