Adjust CI stuff
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
push:
|
||||
tags:
|
||||
- 'bench-*'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run_benchmark:
|
||||
description: 'Run benchmark job'
|
||||
type: boolean
|
||||
default: true
|
||||
|
||||
concurrency:
|
||||
group: bench-${{ github.ref }}
|
||||
@@ -23,8 +25,7 @@ jobs:
|
||||
- run: bun test
|
||||
|
||||
benchmark:
|
||||
if: startsWith(github.ref, 'refs/tags/perf-')
|
||||
needs: test
|
||||
if: (github.event_name == 'workflow_dispatch' && inputs.run_benchmark)
|
||||
runs-on: ubuntu-bun-deno
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user