aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/bun-test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/bun-test.yml')
-rw-r--r--.github/workflows/bun-test.yml59
1 files changed, 0 insertions, 59 deletions
diff --git a/.github/workflows/bun-test.yml b/.github/workflows/bun-test.yml
deleted file mode 100644
index af5b4bcc3..000000000
--- a/.github/workflows/bun-test.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-name: Test
-
-on:
- workflow_dispatch:
- inputs:
- version:
- description: "The version of Bun to run"
- required: true
- default: "canary"
- type: string
- path:
- description: "The path to the test files"
- required: true
- default: "test/"
- type: string
- timeout:
- description: "The timeout per file in milliseconds"
- required: true
- default: "15000"
- type: number
-jobs:
- test:
- name: ${{ matrix.tag }}
- runs-on: ${{ matrix.os }}
- timeout-minutes: 10
- strategy:
- fail-fast: false
- matrix:
- include:
- - os: ubuntu-latest
- tag: linux-x64
- url: linux/x64?avx2=true
- - os: ubuntu-latest
- tag: linux-x64-baseline
- url: linux/x64?baseline=true
- # FIXME: runner fails with "No tests found"?
- #- os: macos-latest
- # tag: darwin-x64
- # url: darwin/x64?avx2=true
- - os: macos-latest
- tag: darwin-x64-baseline
- url: darwin/x64?baseline=true
- steps:
- - id: checkout
- name: Checkout
- uses: actions/checkout@v3
- with:
- submodules: false
- - id: setup
- name: Setup
- uses: oven-sh/setup-bun@v1
- with:
- bun-download-url: https://bun.sh/download/${{ github.event.inputs.version }}/${{ matrix.url }}
- - id: test
- name: Test
- run: |
- bun install
- bun install --cwd test
- bun x ts-node --esm .github/scripts/test-runner.ts ${{ github.event.inputs.path }} --isolated --timeout=${{ github.event.inputs.timeout }}