Skip to content

Remove restriction to < 7 processes in test_spectral.py #70

Remove restriction to < 7 processes in test_spectral.py

Remove restriction to < 7 processes in test_spectral.py #70

Workflow file for this run

name: Trigger benchmarks
on:
push:
branches:
- main
pull_request_target:
types: [opened, synchronize, reopened, labeled]
jobs:
trigger-benchmark:
name: Trigger Benchmark
runs-on: ubuntu-latest
steps:
- name: Trigger benchmarks (PR)
id: setup_pr
if: contains(github.event.pull_request.labels.*.name, 'benchmark PR')
run: |
curl -s -X POST --fail -F token=${{ secrets.BENCH_PIPE_TRIGGER }} -F "ref=main" -F "variables[PR]=${{ github.event.pull_request.number }}" https://codebase.helmholtz.cloud/api/v4/projects/7930/trigger/pipeline -o /dev/null
- name: Trigger benchmarks (Push main)
id: setup_push
if: ${{ github.event_name == 'push' }}
run: |
curl -s -X POST \
--fail \
-F "token=${{ secrets.BENCH_PIPE_TRIGGER }}" \
-F "ref=main" \
-F "variables[SHA]=$GITHUB_SHA" \
https://codebase.helmholtz.cloud/api/v4/projects/7930/trigger/pipeline -o /dev/null