Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
test: gateway-conformance matrix for GRAPH_BACKEND
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 14, 2023
1 parent d8485e2 commit 3b4bb09
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/gateway-conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
gateway-conformance:
runs-on: ubuntu-latest
strategy:
matrix:
car-env: ["GRAPH_BACKEND=false", "GRAPH_BACKEND=true"]
steps:
# 1. Start the Kubo gateway
- name: Download Kubo gateway
Expand Down Expand Up @@ -59,8 +62,15 @@ jobs:
- name: Start bifrost-gateway
env:
PROXY_GATEWAY_URL: http://127.0.0.1:8080
KUBO_RPC_URL: http://127.0.0.1:5001
GATEWAY_CONFORMANCE_TEST: true
run: ./bifrost-gateway &
run: |
# NOTE: we export car-env this way ON PURPOSE, to have full key=value
# present on PR status instead of just true/false without context
export ${{ matrix.car-env }}
# run gw
./bifrost-gateway &
working-directory: bifrost-gateway

# 6. Run the gateway-conformance tests
Expand Down

0 comments on commit 3b4bb09

Please sign in to comment.