Skip to content

Commit fc897f6

Browse files
committed
add rust cli to rpc test matrix
1 parent 65c6d4f commit fc897f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .github/workflows/test.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
strategy:
3434
matrix:
3535
backend: [compose, k8s]
36+
cli: [--rust_cli, ""]
3637
steps:
3738
- uses: actions/checkout@v3
3839
- if: matrix.backend == 'compose'
@@ -41,14 +42,17 @@ jobs:
4142
uses: extractions/setup-just@v1
4243
- if: matrix.backend == 'k8s'
4344
uses: medyagh/setup-minikube@master
45+
- if: matrix.cli == '--rust_cli'
46+
run: |
47+
cargo build
4448
- if: matrix.backend == 'k8s'
4549
run: |
4650
pip install --upgrade pip
4751
pip install -e .
4852
just start
4953
kubectl wait --for=condition=Ready --timeout=2m pod rpc-0
5054
kubectl port-forward svc/rpc 9276:9276 &
51-
- run: ./test/rpc_test.py --backend=${{matrix.backend}}
55+
- run: ./test/rpc_test.py --backend=${{matrix.backend}} ${{matrix.cli}}
5256
graph:
5357
runs-on: ubuntu-latest
5458
strategy:

0 commit comments

Comments
 (0)