Merge pull request #1 from kedacore/add-workflow #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Execute performance tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
execute: | |
name: Execute performance tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oNaiPs/secrets-to-env-action@v1 | |
with: | |
secrets: ${{ toJSON(secrets) }} | |
- name: Get cluster context | |
run: make get-cluster-context | |
- name: Deploy dependencies | |
run: make deploy | |
# Dummy action, replace with test execution | |
- name: Wait | |
uses: GuillaumeFalourd/wait-sleep-action@v1 | |
with: | |
time: '60' # for 60 seconds | |
- name: Cleanup dependencies | |
run: make undeploy |