This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new a3e808dc9d [MINOR] Actions component tests split
a3e808dc9d is described below
commit a3e808dc9d030f0b14c7304ee5dd34d556a7384c
Author: baunsgaard <[email protected]>
AuthorDate: Tue Jan 17 14:27:45 2023 +0100
[MINOR] Actions component tests split
This commit split the component tests into different github actions.
This is done because we sometimes run out of memory in some of the
executions of the component tests.
Also done is spliting the slowest running functional tests to improve
overall execution time of our testing in github actions.
Closes #1766
---
.github/workflows/componentTests.yml | 24 ++++++++++++++++++------
.github/workflows/functionsTests.yml | 3 ++-
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/componentTests.yml
b/.github/workflows/componentTests.yml
index b10018f934..2c997e6e88 100644
--- a/.github/workflows/componentTests.yml
+++ b/.github/workflows/componentTests.yml
@@ -50,7 +50,13 @@ jobs:
os: [ubuntu-latest]
java: ['11']
javadist: ['adopt']
- name: ${{ matrix.os }}
+ tests: [
+ "**.test.usertest.**",
+ "**.component.c**.**",
+ "**.component.e**.**,**.component.f**.**,**.component.m**.**",
+ "**.component.p**.**,**.component.t**.**"
+ ]
+ name: ${{ matrix.tests }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
@@ -62,10 +68,16 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
- - name: Component Tests
- run: ./docker/entrypoint.sh org.apache.sysds.test.component.**
-
- - name: User Tests
- run: ./docker/entrypoint.sh org.apache.sysds.test.usertest.**
+ - name: Cache Maven Dependencies
+ uses: actions/cache@v3
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-test-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-test-
+
+ - name: ${{ matrix.tests }}
+ run: ./docker/entrypoint.sh ${{ matrix.tests }}
+
diff --git a/.github/workflows/functionsTests.yml
b/.github/workflows/functionsTests.yml
index f279c84db9..5ae278c082 100644
--- a/.github/workflows/functionsTests.yml
+++ b/.github/workflows/functionsTests.yml
@@ -62,7 +62,8 @@ jobs:
"**.functions.builtin.part1.**",
"**.functions.builtin.part2.**",
"**.functions.frame.**,**.functions.indexing.**,**.functions.io.**,**.functions.iogen.**",
- "**.functions.dnn.**,**.functions.paramserv.**",
+ "**.functions.dnn.**",
+ "**.functions.paramserv.**",
"**.functions.recompile.**,**.functions.misc.**,**.functions.mlcontext.**",
"**.functions.nary.**,**.functions.quaternary.**",
"**.functions.parfor.**",