Skip to content

Commit

Permalink
fix(ci): ignore shellcheck SC2016
Browse files Browse the repository at this point in the history
  • Loading branch information
Victoremepunto committed Oct 20, 2023
1 parent c26eed4 commit 827799f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/unit_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ set +e
cicd::container::cmd cp "$TEST_CONTAINER_ID":/opt/app-root/src/db/cyndi_setup_test.sql "$WORKSPACE/"
cicd::container::cmd cp "$WORKSPACE/cyndi_setup_test.sql" "$DB_CONTAINER_ID":/var/lib/pgsql/
rm "$WORKSPACE/cyndi_setup_test.sql"
# We want to expand $POSTGRESQL_DATABASE within the container's session
# shellcheck disable=SC2016
cicd::container::cmd exec "$DB_CONTAINER_ID" /bin/bash -c 'psql -d $POSTGRESQL_DATABASE < cyndi_setup_test.sql'
TEST_RESULT=$?
set -e
Expand Down

0 comments on commit 827799f

Please sign in to comment.