chore(): fix env vars for test split
This commit is contained in:
41
.github/workflows/e2etest.yml
vendored
41
.github/workflows/e2etest.yml
vendored
@@ -1,12 +1,20 @@
|
|||||||
name: E2ETests
|
name: E2ETests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
PROXY_ENABLED: ${{ secrets.PROXY_ENABLED }}
|
||||||
|
PROXY_HOST: ${{ secrets.PROXY_HOST }}
|
||||||
|
PROXY_PASS: ${{ secrets.PROXY_PASS }}
|
||||||
|
PROXY_PORT: ${{ secrets.PROXY_PORT }}
|
||||||
|
PROXY_USER: ${{ secrets.PROXY_USER }}
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
E2ETests:
|
E2ETests:
|
||||||
name: 'Build & Test'
|
name: 'Build & Test'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -26,23 +34,20 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Test Public Read API Calls
|
- name: Test Public Read API Calls
|
||||||
run: npm run test -- public.read.test.ts
|
run: npm run test -- public.read.test.ts
|
||||||
|
|
||||||
- name: Test Private Read API Calls
|
- name: Test Private Read API Calls
|
||||||
run: npm run test -- private.read.test.ts
|
run: npm run test -- private.read.test.ts
|
||||||
|
|
||||||
- name: Test Private Write API Calls
|
|
||||||
run: npm run test -- private.write.test.ts
|
|
||||||
|
|
||||||
- name: Test Public WS
|
|
||||||
run: npm run test -- public.ws.test.ts
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
API_KEY_COM: ${{ secrets.API_KEY_COM }}
|
API_KEY_COM: ${{ secrets.API_KEY_COM }}
|
||||||
API_SECRET_COM: ${{ secrets.API_SECRET_COM }}
|
API_SECRET_COM: ${{ secrets.API_SECRET_COM }}
|
||||||
PROXY_ENABLED: ${{ secrets.PROXY_ENABLED }}
|
|
||||||
PROXY_HOST: ${{ secrets.PROXY_HOST }}
|
- name: Test Private Write API Calls
|
||||||
PROXY_PASS: ${{ secrets.PROXY_PASS }}
|
run: npm run test -- private.write.test.ts
|
||||||
PROXY_PORT: ${{ secrets.PROXY_PORT }}
|
env:
|
||||||
PROXY_USER: ${{ secrets.PROXY_USER }}
|
API_KEY_COM: ${{ secrets.API_KEY_COM }}
|
||||||
|
API_SECRET_COM: ${{ secrets.API_SECRET_COM }}
|
||||||
|
|
||||||
|
- name: Test Public WS
|
||||||
|
run: npm run test -- public.ws.test.ts
|
||||||
|
|||||||
Reference in New Issue
Block a user