From 4fa1207327b9134f0e0aa20f2b9d7088c59722d0 Mon Sep 17 00:00:00 2001 From: Austin DeNoble Date: Fri, 12 Jan 2024 11:11:57 -0500 Subject: [PATCH] expand versions of bun to test, add integration-cleanup step --- .github/workflows/testing.yml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d5a8b17f..9bb91a9d 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -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: @@ -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