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 53c547d commit dee580c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

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

jobs:
release-please:
runs-on: ubuntu-latest
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
run: |
npm run build
- name: Test migrations/few
- name: Test - apply migrations ./tests/migrations/few
run: |
node ./lib/cli.js migrate --host=http://localhost:8123 --user=default --password='' --db=analytics --migrations-home=./tests/migrations/few
node ./lib/cli.js migrate --host=http://localhost:8123 --user=default --password='' --db=analytics --migrations-home=./tests/migrations/few
# - name: Run integration tests
# run: |
# npm run test:integration
- name: Verify Migration
run: |
curl http://localhost:8123/?query=SHOW%20TABLES

0 comments on commit dee580c

Please sign in to comment.