Retry for 502-504 codes, fail on >= 400 codes #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
services: | |
presto: | |
image: ghcr.io/popsql/prestodb-sandbox:0.284 | |
ports: | |
- "18080:8080" | |
trino: | |
image: trinodb/trino:418 | |
ports: | |
- "18081:8080" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 16.x, 18.x ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm test |