Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rm integration tests from deploy script #1770

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ function deploy() {
docker system prune -f
}

function test_integration() {
if [[ $NODE_ENV="test" ]]
then
log "Run integration tests on $NODE_ENV environment..."
cd "$repo" || return
npm run test:integration
else
log "Skip integration tests on $NODE_ENV environment..."
fi
}

update_code "$target"

load_environment_variables
Expand All @@ -94,8 +83,6 @@ function deploy() {

cleanup_docker

test_integration

restart_webhook_service

log "Done."
Expand Down