From 81a9e67986976dc33baca7b75789721964ec910f Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Tue, 12 Jan 2021 15:31:00 +0100 Subject: [PATCH 1/5] move test set up function --- {src/utils/utilsForTests => tests}/setUp.m | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {src/utils/utilsForTests => tests}/setUp.m (100%) diff --git a/src/utils/utilsForTests/setUp.m b/tests/setUp.m similarity index 100% rename from src/utils/utilsForTests/setUp.m rename to tests/setUp.m From 41d73b2f0120bb9ca64ca86980ed957c3a542579 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 13 Jan 2021 07:18:46 +0100 Subject: [PATCH 2/5] move setUp into subfolder --- tests/{ => utils}/setUp.m | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/{ => utils}/setUp.m (100%) diff --git a/tests/setUp.m b/tests/utils/setUp.m similarity index 100% rename from tests/setUp.m rename to tests/utils/setUp.m From 90e3d792ed85057a8a644cefa1254c53b6f4cc66 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 13 Jan 2021 07:26:43 +0100 Subject: [PATCH 3/5] update path for moxunit in CI --- .github/workflows/moxunit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/moxunit.yml b/.github/workflows/moxunit.yml index 0063a04c..0d96047f 100644 --- a/.github/workflows/moxunit.yml +++ b/.github/workflows/moxunit.yml @@ -31,7 +31,7 @@ jobs: uses: joergbrech/moxunit-action@v1.1 with: tests: tests - src: src + src: src tests/utils with_coverage: true cover_xml_file: coverage.xml From c178bce45fba0aceca2be84acfc24f935bbda4cc Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 13 Jan 2021 07:39:50 +0100 Subject: [PATCH 4/5] remove test utils from coverage --- .github/workflows/moxunit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/moxunit.yml b/.github/workflows/moxunit.yml index 0d96047f..e8c5503f 100644 --- a/.github/workflows/moxunit.yml +++ b/.github/workflows/moxunit.yml @@ -31,7 +31,8 @@ jobs: uses: joergbrech/moxunit-action@v1.1 with: tests: tests - src: src tests/utils + src: src + ext: tests/utils with_coverage: true cover_xml_file: coverage.xml From 627f64a6aaba648cbe732cb5bcaa749b46b8e047 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 13 Jan 2021 07:51:50 +0100 Subject: [PATCH 5/5] use latest commit of MOxUnit action --- .github/workflows/moxunit.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/moxunit.yml b/.github/workflows/moxunit.yml index e8c5503f..c975e7c3 100644 --- a/.github/workflows/moxunit.yml +++ b/.github/workflows/moxunit.yml @@ -28,11 +28,12 @@ jobs: # cd ../.. - name: MOxUnit Action - uses: joergbrech/moxunit-action@v1.1 + uses: joergbrech/moxunit-action@master with: - tests: tests - src: src - ext: tests/utils + tests: tests # files or directories containing the MOxUnit test cases + src: src # directories to be added to the Octave search path before running the tests. + ext: tests/utils # External resources to add to the search put (excluded from coverage) + # data: # Directory for test data with_coverage: true cover_xml_file: coverage.xml