Skip to content

Commit

Permalink
bats
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Nov 3, 2023
1 parent b517e51 commit 5b31c0c
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 1,420 deletions.
1 change: 0 additions & 1 deletion .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ environments:
schedule: '*/15 * * * *'
command: drush cron --root=/app
service: cli

routes:
- nginx-php:
- default.civictheme.io
Expand Down
9 changes: 1 addition & 8 deletions scripts/test-tooling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
set -e
[ -n "${DREVOPS_DEBUG}" ] && set -x

echo "==> Test BATS helpers."
bats tests/bats/helpers.bats --tap

echo "==> Test BATS mock."
bats tests/bats/mock.bats --tap

echo "==> Test Assets mock."
bats tests/bats/assets.bats --tap
[ ! -d "tests/bats/node_modules" ] && npm --prefix tests/bats ci

if [ "${CIVICTHEME_LIBRARY_INSTALL_SKIP}" != "1" ]; then
echo " > Test Library assets."
Expand Down
1 change: 1 addition & 0 deletions tests/bats/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Loading

0 comments on commit 5b31c0c

Please sign in to comment.