Skip to content

Commit

Permalink
Use workflow input for perf test action and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cshnimble committed Feb 22, 2024
1 parent 8dcc5bc commit 2888ac3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: k6 Performance benchmark tests

on:
wprkflow_dispatch:
# workflow_run:
# workflows: ["Deploy to environment"]
# types:
# - completed
workflow_dispatch:
inputs:
environment:
type: environment
description: "Choose an environment to run against"
required: true

jobs:
run-k6-tests:
runs-on: ubuntu-latest
if: github.event.inputs.environment == 'development' || github.event.inputs.environment == 'test'
defaults:
run:
working-directory: Dfe.Academies.Performance/scripts
Expand Down

0 comments on commit 2888ac3

Please sign in to comment.