Skip to content

Commit

Permalink
Refactor Turing CICD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlycoconuts committed Aug 5, 2022
1 parent dfffd9b commit 575f1e9
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/turing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,11 @@ jobs:
working-directory: sdk
run: make setup

- name: Run End-to-End Test Suite
- name: Run End-to-End Test Suite with Turing API
if: ${{ !matrix.useSDK }}
id: run-e2e-test
working-directory: api
env:
env: &e2e-env-vars
GOPATH: ${{ github.workspace }}/api/.go
TEST_ID: ${{ github.run_id }}
MOCKSERVER_ENDPOINT: http://mockserver
Expand All @@ -402,14 +402,8 @@ jobs:
id: run-e2e-test-sdk
working-directory: sdk
env:
GOPATH: ${{ github.workspace }}/api/.go
TEST_ID: ${{ github.run_id }}
MOCKSERVER_ENDPOINT: http://mockserver
<<: *e2e-env-vars
API_BASE_PATH: http://turing-gateway.127.0.0.1.nip.io/api/turing/
MODEL_CLUSTER_NAME: "dev"
PROJECT_ID: "1"
PROJECT_NAME: default
KUBECONFIG_USE_LOCAL: true
TEST_ECHO_IMAGE: eexit/mirror-http-server:1.1.3
KSERVICE_DOMAIN: 127.0.0.1.nip.io
run: make e2e-sdk
Expand Down

0 comments on commit 575f1e9

Please sign in to comment.