diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ac1027..8898788 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,10 @@ jobs: - name: Build connector run: cd cosmos && npm install --save @azure/cosmos && npm i -g rimraf && npm run build - name: Start connector - run: cd cosmos && export HASURA_CONFIGURATION_DIRECTORY="./connector_config_emulator.json" && npm run start serve --configuration connector_config_emulator.json + run: | + cd cosmos + export HASURA_CONFIGURATION_DIRECTORY="./connector_config_emulator.json" + npm run start serve --configuration connector_config_emulator.json & - name: Check out ndc-spec uses: actions/checkout@v3 with: @@ -37,7 +40,7 @@ jobs: token: ${{ secrets.CI_PERSONAL_ACCESS_TOKEN }} - name: Run ndc-test working-directory: ndc-spec - run: cargo run --bin ndc-test -- replay --endpoint http://127.0.0.1:8080 --snapshots-dir cosmos/ndc-test-snapshots + run: cargo run --bin ndc-test -- replay --endpoint http://0.0.0.0:8080 --snapshots-dir cosmos/ndc-test-snapshots # - name: Install test runner # run: npm install --global mocha # - name: Run Node.js tests