Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/NYQL-api-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: NYQL API Tests

on:
pull_request:
Comment thread
samanthaandrews marked this conversation as resolved.
Outdated

permissions:
contents: read

jobs:
nyql-api-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node version
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: npm install
run: npm ci
- name: Run NYQL API tests
run: npm run nyql-api-test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ npm test

### API testing

NYQL integration tests are a QA contract suite in `test/integration/nyql/`. They verify that NYQL queries return the expected results against live QA data and are not run by default during `npm test` to avoid adding latency to CI.
NYQL integration tests are a QA contract suite in `test/integration/nyql/`. They verify that NYQL queries return the expected results against live QA data and are not run by default during `npm test` to avoid adding latency to CI. They do, however, run on pull request. This is set up in the NYQL-api-tests.yml file.
Comment thread
chrismulholland marked this conversation as resolved.
Outdated

To run them locally:

Expand Down
Loading