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