Browse Source

github workflow start joystream-node before running query-node tests

Mokhtar Naamani 3 years ago
parent
commit
716d9eb835
2 changed files with 4 additions and 2 deletions
  1. 1 1
      .env
  2. 3 1
      .github/workflows/run-network-tests.yml

+ 1 - 1
.env

@@ -38,4 +38,4 @@ WARTHOG_APP_HOST=localhost
 WS_PROVIDER_ENDPOINT_URI=ws://joystream-node:9944/
 
 # If running joystream-node on host machine you can use following address to reach it instead
-# WS_PROVIDER_ENDPOINT_URI=ws://host.docker.internal:9944/
+# WS_PROVIDER_ENDPOINT_URI=ws://host.docker.internal:9944/

+ 3 - 1
.github/workflows/run-network-tests.yml

@@ -160,7 +160,9 @@ jobs:
       # Bring up hydra query-node development instance, then run content directory
       # integration tests
       - name: Execute Tests
-        run: query-node/run-tests.sh
+        run: |
+          docker-compose up -d joystream-node
+          query-node/run-tests.sh
 
   storage_node:
     name: Storage Node Tests