Skip to content

workflow dispatch

workflow dispatch #2

name: Run performance tests

Check failure on line 1 in .github/workflows/run-performance-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-performance-tests.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: performance-reporter
on:
workflow_dispatch:
repository_dispatch:
# push:
# branches:
# - master
# - main
# - feature/*
# - hotfix/*
# - release/*
# - support/*
# - revert-*
# - dependabot/*
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
doctor-performance-tests:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: read
actions: write
steps:
- uses: meta-introspector/checkout@v4
- name: Run Doctor (ClinicJS)
uses: ./.github/base-actions/clinicjs-toolkit
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
clinic-tool: doctor
javascript-file: dist/server.js
autocannon-endpoint: /process-simulator
artifact-suffix: doctor-artifact
flame-performance-tests:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: read
actions: write
steps:
- uses: meta-introspector/checkout@v4
- name: Run Flame (ClinicJS)
uses: ./.github/base-actions/clinicjs-toolkit
with:
gh-token: ${{ secrets.GITHUB_TOKEN }}
clinic-tool: flame
javascript-file: dist/server.js
autocannon-endpoint: /process-simulator
artifact-suffix: flame-artifact
autocannon-amount: 1
autocannon-connections: 1
performance-reporter:
needs: [doctor-performance-tests, flame-performance-tests]
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: read
pull-requests: write
actions: read
# steps:
# - uses: meta-introspector/checkout@v4
# - name: Get all artifacts and publish results in github pages
# uses: ./.github/base-actions/performance-reporter
# with:
# gh-token: ${{ secrets.GITHUB_TOKEN }}