Skip to content

Use shared ticket package extractor in CI #1196

Use shared ticket package extractor in CI

Use shared ticket package extractor in CI #1196

name: Stress Benchmark
on:
push:
paths:
- 'include/**'
- 'src/**'
- 'stress_benchmark/**'
- '.github/workflows/stress_benchmark.yml'
branches:
- main
pull_request:
types: [ opened, reopened, synchronize ]
paths:
- 'include/**'
- 'src/**'
- 'stress_benchmark/**'
- '.github/workflows/stress_benchmark.yml'
- 'conandata.yml'
branches:
- main
- 'CURA-*'
- 'PP-*'
- 'NP-*'
- '[0-9]+.[0-9]+'
permissions:
contents: write
deployments: write
jobs:
check_actor:
uses: ultimaker/cura-workflows/.github/workflows/check-actor.yml@main
secrets: inherit
find-ticket-packages:
name: Extract ticket and find packages
uses: ultimaker/cura-workflows/.github/workflows/extract-ticket-and-find-packages.yml@main

Check failure on line 39 in .github/workflows/stress_benchmark.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/stress_benchmark.yml

Invalid workflow file

error parsing called workflow ".github/workflows/stress_benchmark.yml" -> "ultimaker/cura-workflows/.github/workflows/extract-ticket-and-find-packages.yml@main" : failed to fetch workflow: workflow was not found.
secrets: inherit
benchmark:
needs: [check_actor, find-ticket-packages]
if: >-
always() &&
needs.check_actor.outputs.proceed == 'true' &&
needs.find-ticket-packages.result == 'success'
uses: ultimaker/cura-workflows/.github/workflows/benchmark.yml@main
with:
conan_extra_args: "-c tools.build:skip_test=False -o \"curaengine/*:enable_benchmarks=True\""
benchmark_cmd: "stress_benchmark/stress_benchmark -o benchmark_result.json"
name: "Stress Benchmark"
output_file_path: "benchmark_result.json"
data_dir: "dev/stress_bench"
tool: "customSmallerIsBetter"
package_overrides: ${{ needs.find-ticket-packages.outputs.package_overrides || '' }}
secrets: inherit