Skip to content

Commit

Permalink
wip: github ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 committed Mar 22, 2024
1 parent f00af21 commit 9ca7a3b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 9ca7a3b

Please sign in to comment.