From cb35cfce5b5f23010dc2e514a9dfd21029d77d0b Mon Sep 17 00:00:00 2001 From: Roland Peelen Date: Wed, 8 May 2024 19:48:47 +0200 Subject: [PATCH] :white_check_mark: - Run tests on PNPM --- tests/compile.sh | 2 +- tests/suffix.sh | 1 - tests/suite-ci.sh | 14 ++++++++------ tests/watch.sh | 1 - 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/compile.sh b/tests/compile.sh index 51a3109..b42b1ba 100755 --- a/tests/compile.sh +++ b/tests/compile.sh @@ -25,7 +25,7 @@ fi if git diff --exit-code ./; then - success "testrepo_yarn has no changes" + success "testrepo has no changes" else error "Build has changed" exit 1 diff --git a/tests/suffix.sh b/tests/suffix.sh index 15f6449..ecfbad9 100755 --- a/tests/suffix.sh +++ b/tests/suffix.sh @@ -4,7 +4,6 @@ cd $(dirname $0) source "./utils.sh" cd "$1" || exit -source "./utils.sh" bold "Test: It should support custom suffixes" # Clean Repo diff --git a/tests/suite-ci.sh b/tests/suite-ci.sh index aeb451c..2742556 100755 --- a/tests/suite-ci.sh +++ b/tests/suite-ci.sh @@ -31,12 +31,14 @@ else exit 1 fi +bold "Yarn Tests" ./compile.sh "testrepo_yarn" \ - && ../watch.sh "testrepo_yarn" \ - && ../lock.sh "testrepo_yarn" \ - && ../suffix.sh "testrepo_yarn" + && ./watch.sh "testrepo_yarn" \ + && ./lock.sh "testrepo_yarn" \ + && ./suffix.sh "testrepo_yarn" +bold "PNPM Tests" ./compile.sh "testrepo_pnpm" \ - && ../watch.sh "testrepo_pnpm" \ - && ../lock.sh "testrepo_pnpm" \ - && ../suffix.sh "testrepo_pnpm" + && ./watch.sh "testrepo_pnpm" \ + && ./lock.sh "testrepo_pnpm" \ + && ./suffix.sh "testrepo_pnpm" diff --git a/tests/watch.sh b/tests/watch.sh index 2e512ee..5ec99c8 100755 --- a/tests/watch.sh +++ b/tests/watch.sh @@ -4,7 +4,6 @@ cd $(dirname $0) source "./utils.sh" cd "$1" || exit -source "./utils.sh" bold "Test: It should watch" if rewatch clean &> /dev/null;