[systemds] branch master updated: [MINOR] Test remove temp file allocation

2020-09-16 Thread baunsgaard
This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
 new 3df0d3c  [MINOR] Test remove temp file allocation
3df0d3c is described below

commit 3df0d3c88ad309455bc5a2278d6f417e6e580aa6
Author: baunsgaard 
AuthorDate: Wed Sep 16 13:45:09 2020 +0200

[MINOR] Test remove temp file allocation

This commit change the output of the componenet tests to not allocate
a temporary file that only on success was printed partially.
This means that we again have the potential error of printing to much
to the output but since last time the printing have been significantly
reduced, and the caching of the maven packages has been fixed.
---
 .github/workflows/componentTests.yml | 19 ---
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/componentTests.yml 
b/.github/workflows/componentTests.yml
index 58721f5..8b51b8d 100644
--- a/.github/workflows/componentTests.yml
+++ b/.github/workflows/componentTests.yml
@@ -49,19 +49,8 @@ jobs:
   ${{ runner.os }}-maven-test-
 
 - name: Component Tests
-  run: |
-log="/tmp/sysdstest.log"
-echo "Starting Tests"
-mvn test -D maven.test.skip=false 
-Dtest=org.apache.sysds.test.component.*.** 2>&1 > $log
-grep_args="SUCCESS"
-grepvals="$( tail -n 100 $log | grep $grep_args)"
-if [[ $grepvals == *"SUCCESS"* ]]; then
-   echo "- last 100 lines from test 
"
-   tail -n 100 $log
-   echo "-- last 100 lines from test end 
---"
-   exit 0
-else
-   echo "\n $(cat $log)"
-   exit 1
-fi
+  run: mvn test -D maven.test.skip=false 
-Dtest=org.apache.sysds.test.component.** 
+
+- name: User Tests
+  run: mvn test -D maven.test.skip=false 
-Dtest=org.apache.sysds.test.usertest.** 
 



[systemds] branch master updated: [MINOR] Test remove temp file allocation

2020-09-16 Thread baunsgaard
This is an automated email from the ASF dual-hosted git repository.

baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
 new 3df0d3c  [MINOR] Test remove temp file allocation
3df0d3c is described below

commit 3df0d3c88ad309455bc5a2278d6f417e6e580aa6
Author: baunsgaard 
AuthorDate: Wed Sep 16 13:45:09 2020 +0200

[MINOR] Test remove temp file allocation

This commit change the output of the componenet tests to not allocate
a temporary file that only on success was printed partially.
This means that we again have the potential error of printing to much
to the output but since last time the printing have been significantly
reduced, and the caching of the maven packages has been fixed.
---
 .github/workflows/componentTests.yml | 19 ---
 1 file changed, 4 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/componentTests.yml 
b/.github/workflows/componentTests.yml
index 58721f5..8b51b8d 100644
--- a/.github/workflows/componentTests.yml
+++ b/.github/workflows/componentTests.yml
@@ -49,19 +49,8 @@ jobs:
   ${{ runner.os }}-maven-test-
 
 - name: Component Tests
-  run: |
-log="/tmp/sysdstest.log"
-echo "Starting Tests"
-mvn test -D maven.test.skip=false 
-Dtest=org.apache.sysds.test.component.*.** 2>&1 > $log
-grep_args="SUCCESS"
-grepvals="$( tail -n 100 $log | grep $grep_args)"
-if [[ $grepvals == *"SUCCESS"* ]]; then
-   echo "- last 100 lines from test 
"
-   tail -n 100 $log
-   echo "-- last 100 lines from test end 
---"
-   exit 0
-else
-   echo "\n $(cat $log)"
-   exit 1
-fi
+  run: mvn test -D maven.test.skip=false 
-Dtest=org.apache.sysds.test.component.** 
+
+- name: User Tests
+  run: mvn test -D maven.test.skip=false 
-Dtest=org.apache.sysds.test.usertest.**