Skip to content

Commit

Permalink
chore: improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VVVi committed Sep 14, 2024
1 parent dee580c commit 3b78c46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ on:
push:
branches:
- main

workflow_run:
workflows: ['tests']
types:
- completed

jobs:
release-please:
runs-on: ubuntu-latest
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,12 @@ jobs:
- name: Verify Migration
run: |
curl http://localhost:8123/?query=SHOW%20TABLES
echo "Checking if table 'events' exists..."
response=$(curl -s "http://localhost:8123/?query=SHOW%20TABLES%20LIKE%20'events'")
echo "Response: $response"
if [ "$response" = "events" ]; then
echo "Table 'events' was created successfully."
else
echo "Table 'events' was not found!"
exit 1
fi

0 comments on commit 3b78c46

Please sign in to comment.