Skip to content

Commit

Permalink
Bump Node.js version, add wake-up-cloud step
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Aug 20, 2024
1 parent 442392c commit 5530a18
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [18, 20, 21]
node: [18, 20, 22]
steps:
- uses: actions/checkout@main

Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [18, 20, 21]
node: [18, 20, 22]
clickhouse: [head, latest]

steps:
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [18, 20, 21]
node: [18, 20, 22]
clickhouse: [head, latest]

steps:
Expand Down Expand Up @@ -192,13 +192,28 @@ jobs:
run: |
npm run test:web:integration:local_cluster
wake-up-cloud:
needs:
- node-unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Wake up the cloud instance
run: |
curl \
--user "default:${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}" \
--connect-timeout 60 \
--max-time 300 \
--data-binary "SELECT 1" \
"https://${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}:8443"
node-integration-tests-cloud-smt:
needs: node-unit-tests
needs: wake-up-cloud
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
node: [18, 20, 21]
node: [18, 20, 22]

steps:
- uses: actions/checkout@main
Expand All @@ -220,7 +235,7 @@ jobs:
npm run test:node:integration:cloud_smt
web-integration-tests-cloud-smt:
needs: node-unit-tests
needs: wake-up-cloud
runs-on: ubuntu-latest
permissions: write-all
steps:
Expand Down

0 comments on commit 5530a18

Please sign in to comment.