diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index f926bbd00..ae650b73b 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -9,13 +9,28 @@ on: branches: ["main"] pull_request: branches: ["main"] - types: [ "labeled" ] concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: + bench-test: + strategy: + max-parallel: 1 + fail-fast: true + matrix: + target: + - system: ubuntu-latest + - system: macos-latest + runs-on: ${{ matrix.target.system }} + steps: + - name: test + shell: bash + run: | + sleep 30 + echo "Running ${{ matrix.target.system }}" + bench: name: ${{ matrix.target.name }} strategy: