forked from botpress/botpress
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 877 Bytes
/
run-cli-tests.yml
File metadata and controls
33 lines (30 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Run CLI Tests
on:
pull_request: {}
workflow_dispatch: {}
permissions:
id-token: write
contents: read
jobs:
run-cli-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
NODE_OPTIONS: '--max_old_space_size=8192'
steps:
- uses: actions/checkout@v2
- name: Setup
uses: ./.github/actions/setup
with:
extra_filters: '-F @botpress/cli'
- env:
WORKSPACE_ID: ${{ secrets.STAGING_E2E_TESTS_WORKSPACE_ID }}
TOKEN: ${{ secrets.STAGING_TOKEN_CLOUD_OPS_ACCOUNT }}
run: |
pnpm run -F cli test:e2e -v \
--api-url https://api.botpress.dev \
--workspace-id "$WORKSPACE_ID" \
--workspace-handle clitests \
--token "$TOKEN" \
--sdk-path "$(pwd)/packages/sdk" \
--client-path "$(pwd)/packages/client"