Skip to content

Commit

Permalink
update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pandomic committed Nov 28, 2024
1 parent 222f2b9 commit 4f66506
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,28 +99,36 @@ jobs:
END_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S.%3NZ")
curl -X POST http://localhost:4566/_localstack/extensions/ci/steps \
-H "Content-Type: application/json" \
-d '[{
"step_id": "deploy",
"name": "Deploy Infrastructure",
"step_type" : "deploy",
"state": "passed",
"time_start": "'"$START_TIME"'",
"time_end": "'"$END_TIME"'"
}]'
-d '{
"steps": [
{
"step_id": "deploy",
"name": "Deploy Infrastructure",
"step_type" : "deploy",
"state": "passed",
"time_start": "'"$START_TIME"'",
"time_end": "'"$END_TIME"'"
}
]
}'
START_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S.%3NZ")
bash bin/seed.sh
END_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S.%3NZ")
curl -X POST http://localhost:4566/_localstack/extensions/ci/steps \
-H "Content-Type: application/json" \
-d '[{
"step_id": "seed",
"name": "Seed Data",
"step_type" : "deploy",
"state": "passed",
"time_start": "'"$START_TIME"'",
"time_end": "'"$END_TIME"'"
}]'
-d '{
"steps": [
{
"step_id": "seed",
"name": "Seed Data",
"step_type" : "deploy",
"state": "passed",
"time_start": "'"$START_TIME"'",
"time_end": "'"$END_TIME"'"
}
]
}'

- name: Run Tests
env:
Expand Down

0 comments on commit 4f66506

Please sign in to comment.