Skip to content

Commit

Permalink
add staging back in for now, re-enable node and edge runtimes for int…
Browse files Browse the repository at this point in the history
…egration tests
  • Loading branch information
austin-denoble committed Jan 11, 2024
1 parent d64330f commit 3aa6d2d
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ jobs:
fail-fast: false
max-parallel: 2
matrix:
config: [
# { runner: 'npm', jest_env: 'node' },
# { runner: 'npm', jest_env: 'edge' },
# { runner: 'bun', jest_env: 'node' },
pinecone_env:
- prod
# - staging
config:
[
{ runner: 'npm', jest_env: 'node' },
{ runner: 'npm', jest_env: 'edge' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.4' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.5' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.6' },
Expand All @@ -49,10 +52,19 @@ jobs:
with:
bun-version: ${{ matrix.config.bun_version }}

- name: Run integration tests
- name: Run integration tests (Prod)
if: matrix.pinecone_env == 'prod'
env:
CI: true
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
run: ${{ matrix.config.runner }} run test:integration:${{ matrix.config.jest_env }}

- name: Run integration tests (Staging)
if: matrix.pinecone_env == 'staging'
env:
CI: true
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
PINECONE_CONTROLLER_HOST: 'https://api-staging.pinecone.io'
run: ${{ matrix.config.runner }} run test:integration:${{ matrix.config.jest_env }}

typescript-compilation-tests:
Expand Down

0 comments on commit 3aa6d2d

Please sign in to comment.