Merge pull request #416 from tiagosiebler/testfix100225

chore(): fix env vars for test split
This commit is contained in:
Tiago
2025-02-10 14:20:48 +00:00
committed by GitHub

View File

@@ -1,12 +1,20 @@
name: E2ETests
name: E2ETests
on:
push:
pull_request:
workflow_dispatch:
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:
E2ETests:
name: 'Build & Test'
runs-on: ubuntu-latest
@@ -26,23 +34,20 @@ jobs:
- name: 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
- name: Test Private Read API Calls
- 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