mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
51 lines
1.4 KiB
YAML
51 lines
1.4 KiB
YAML
name: bun-ecosystem-test
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 15 * * *" # every day at 7am PST
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: "The version of Bun to run"
|
|
required: true
|
|
default: "canary"
|
|
type: string
|
|
jobs:
|
|
test:
|
|
name: ${{ matrix.tag }}
|
|
runs-on: ${{ matrix.os }}
|
|
if: github.repository_owner == 'oven-sh'
|
|
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: Bhacaz/checkout-files@v2
|
|
with:
|
|
files: packages/bun-internal-test
|
|
- 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
|
|
working-directory: packages/bun-internal-test
|
|
run: bun run test:ecosystem
|