Skip to content

Commit

Permalink
expand versions of bun to test, add integration-cleanup step
Browse files Browse the repository at this point in the history
  • Loading branch information
austin-denoble committed Jan 12, 2024
1 parent f0ba69b commit 4fa1207
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ jobs:
[
{ 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.0' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.5' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.6' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.7' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.10' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.15' },
{ runner: 'bun', jest_env: 'node', bun_version: '1.0.20' },
]

steps:
Expand Down Expand Up @@ -67,6 +68,25 @@ jobs:
PINECONE_CONTROLLER_HOST: 'https://api-staging.pinecone.io'
run: ${{ matrix.config.runner }} run test:integration:${{ matrix.config.jest_env }}

integration-test-cleanup:
name: Clean up integration tests
if: always()
needs: [integration-tests]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- name: Run integration cleanup command
env:
CI: true
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
run: npm run test:integration:cleanup

typescript-compilation-tests:
name: TS compile
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4fa1207

Please sign in to comment.