Better timeout handling #1
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 CLI | |
on: push | |
jobs: | |
build: | |
name: End-to-end test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install | |
run: yarn --immutable | |
- name: Start MongoDB | |
uses: supercharge/mongodb-github-action@1.10.0 | |
with: | |
mongodb-version: 7 | |
mongodb-replica-set: test-rs | |
- name: Start apollo | |
run: | | |
yarn --cwd packages/apollo-shared start & | |
yarn --cwd packages/apollo-collaboration-server start & | |
- name: Run tests | |
run: python3 ./test/test.py TestCLI | |
working-directory: packages/apollo-cli |