Skip to content

Commit

Permalink
Try to use the default github runner
Browse files Browse the repository at this point in the history
Try to use the default github runner
  • Loading branch information
rafaelbey authored Oct 18, 2023
1 parent dc5064b commit cfea79c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
MAVEN_OPTS: "-Xmx6g"
MAVEN_OPTS: "-Xmx4g"

on: [push, pull_request]

Expand All @@ -36,7 +36,7 @@ jobs:
# Also, skip this build for release commits
if: "!contains(github.event.head_commit.message, '[maven-release-plugin]') && github.repository == 'finos/legend-engine'"
# NOTE: larger runner is required to run this build
runs-on: ubuntu-latest-4-cores
runs-on: ubuntu-latest

steps:
- name: Checkout repo
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
if: github.ref != 'refs/heads/master'
run: |
mvn -B -e -DskipTests=true install
mvn -B -e surefire:test -DargLine="-XX:MaxRAMPercentage=70.0" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate
mvn -B -e surefire:test -DargLine="-Xmx4g" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate
- name: Build + Test + Maven Deploy + Sonar + Docker Snapshot
if: github.ref == 'refs/heads/master'
Expand All @@ -87,7 +87,7 @@ jobs:
# See https://github.com/finos/legend-engine/pull/924
run: |
mvn -B -e -DskipTests=true deploy -P docker-snapshot,sonar
mvn -B -e surefire:test -DargLine="-XX:MaxRAMPercentage=70.0" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate
mvn -B -e surefire:test -DargLine="-Xmx4g" -Dsurefire.reports.directory=${GITHUB_WORKSPACE}/surefire-reports-aggregate
- name: Upload Test Results
if: always()
Expand Down

0 comments on commit cfea79c

Please sign in to comment.