Skip to content

Commit

Permalink
[ADS-2] Fix RAM usage CI (#3)
Browse files Browse the repository at this point in the history
* Update tpch.yml

* Update report_ram_log.yml

* Update report_ram_log.yml

* Delete github-ci-fix

* Delete github-ci-fix2
  • Loading branch information
zhztheplayer authored Jan 7, 2021
1 parent 0ae27bc commit 6abc0c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/report_ram_log.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,14 @@ jobs:
git clone -b oap-master https://github.com/intel-bigdata/arrow.git
cd arrow/java
mvn clean install -B -P arrow-jni -am -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Darrow.cpp.build.dir=/tmp/arrow/cpp/build/release/ -DskipTests -Dcheckstyle.skip
- run: mvn test -B -DmembersOnlySuites=com.intel.oap.tpch -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DtagsToInclude=com.intel.oap.tags.CommentOnContextPR -pl oap-native-sql/core -am -Dexec.skip=true
- name: Install Arrow datasource
run: |
mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DskipTests
- run: |
cd /tmp
git clone https://github.com/oap-project/native-sql-engine.git
cd native-sql-engine/core/
mvn test -B -DmembersOnlySuites=com.intel.oap.tpch -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DtagsToInclude=com.intel.oap.tags.CommentOnContextPR -Dexec.skip=true
env:
MAVEN_OPTS: "-Xmx2048m"
COMMENT_CONTENT_PATH: "/tmp/comment.md"
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/tpch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
name: Native SQL Engine TPC-H Suite

on:
pull_request:
paths:
- '.github/workflows/tpch.yml'
- 'oap-native-sql/**'
- 'oap-data-source/arrow/**'
pull_request

jobs:
ram-usage-test:
Expand Down Expand Up @@ -51,7 +47,14 @@ jobs:
sudo make install
cd ../../java
mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -P arrow-jni -am -Darrow.cpp.build.dir=/tmp/arrow/cpp/build/release/ -DskipTests -Dcheckstyle.skip
- run: mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DmembersOnlySuites=com.intel.oap.tpch -DtagsToInclude=com.intel.oap.tags.TestAndWriteLogs -pl oap-native-sql/core -am
- name: Install Arrow datasource
run: |
mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- run: |
cd /tmp
git clone https://github.com/oap-project/native-sql-engine.git
cd native-sql-engine/core/
mvn test -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -DmembersOnlySuites=com.intel.oap.tpch -DtagsToInclude=com.intel.oap.tags.TestAndWriteLogs
env:
MAVEN_OPTS: "-Xmx2048m"
COMMENT_TEXT_OUTPUT_PATH: "/tmp/comment_text.txt"
Expand Down

0 comments on commit 6abc0c0

Please sign in to comment.