Skip to content

Commit

Permalink
Configure mvn to run with more heap space to allow running tests.
Browse files Browse the repository at this point in the history
This is necessary, since there is a memory leak in mastodon (mastodon-sc/mastodon#225)
  • Loading branch information
stefanhahmann committed May 8, 2023
1 parent 2fa2f81 commit dc47e95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ jobs:
distribution: 'zulu'
cache: 'maven'
- name: Build with Maven
env:
MAVEN_OPTS: -Xmx4096m
run: mvn -B package --file pom.xml
1 change: 1 addition & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
MAVEN_OPTS: -Xmx4096m
run: mvn -B verify --file pom.xml -Pcoverage sonar:sonar -Dsonar.projectKey=mastodon-sc_mastodon-deep-lineage -Dsonar.organization=mastodon-sc

- name: Upload artifacts for subsequent review
Expand Down

0 comments on commit dc47e95

Please sign in to comment.