Skip to content

Commit

Permalink
✅ - Run tests on PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland Peelen committed May 8, 2024
1 parent 4d8ea20 commit cb35cfc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/suffix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 8 additions & 6 deletions tests/suite-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 0 additions & 1 deletion tests/watch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cb35cfc

Please sign in to comment.