chore(): fix env vars for test split

This commit is contained in:
tiagosiebler
2025-02-10 13:57:46 +00:00
parent 277b6755cd
commit c9dbded2a2

View File

@@ -5,6 +5,14 @@ on:
pull_request:
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:
E2ETests:
name: 'Build & Test'
@@ -31,18 +39,15 @@ jobs:
- name: Test Private Read API Calls
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:
API_KEY_COM: ${{ secrets.API_KEY_COM }}
API_SECRET_COM: ${{ secrets.API_SECRET_COM }}
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 }}
- name: Test Private Write API Calls
run: npm run test -- private.write.test.ts
env:
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