Skip to content

Commit

Permalink
Merge pull request #12 from newfold-labs/add/check-module-has-Cypress…
Browse files Browse the repository at this point in the history
…-tests-before-running-them

Add missing `;`
  • Loading branch information
BrianHenryIE authored May 9, 2024
2 parents 0b9ab9c + 7344a14 commit a122950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ jobs:
- name: Check for module tests
id: check-for-module-tests
run:
if [[ $(find ./vendor/${{ inputs.module-repo }} -depth -name '*.cy*') ]]; then MODULE_TESTS_FOUND=1; else MODULE_TESTS_FOUND=0; fi
if [[ $MODULE_TESTS_FOUND -eq 0 ]]; then echo "No module Cypress tests found"; fi
if [[ $(find ./vendor/${{ inputs.module-repo }} -depth -name '*.cy*') ]]; then MODULE_TESTS_FOUND=1; else MODULE_TESTS_FOUND=0; fi;
if [[ $MODULE_TESTS_FOUND -eq 0 ]]; then echo "No module Cypress tests found"; fi;
echo "MODULE_TESTS_FOUND=$MODULE_TESTS_FOUND" >> $GITHUB_OUTPUT;

- name: Run Module Cypress Tests
Expand Down

0 comments on commit a122950

Please sign in to comment.