From 845a1b8cb9897ed3bb52e58a8abdc27b51eb3b7b Mon Sep 17 00:00:00 2001 From: yingtingxu Date: Wed, 19 Jun 2024 17:24:01 +0800 Subject: [PATCH] Add acceptance stage GitHub workflow --- .github/workflows/acceptance-stage.yml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/acceptance-stage.yml diff --git a/.github/workflows/acceptance-stage.yml b/.github/workflows/acceptance-stage.yml new file mode 100644 index 0000000..185af75 --- /dev/null +++ b/.github/workflows/acceptance-stage.yml @@ -0,0 +1,30 @@ +name: Acceptance Stage +on: + workflow_run: + workflows: + - 'Commit Stage' + types: + - completed + branches: + - main +concurrency: + group: acceptance + +jobs: + funactional: + name: Functional Acceptance Tests + runs-on: ubuntu-latest + steps: + - run: echo "Running functional acceptance tests" + performance: + name: Performance Tests + if: ${{ github.event.workflow_run.conclusion == 'success' }} + runs-on: ubuntu-latest + steps: + - run: echo "Running performance tests" + security: + name: Security Tests + if: ${{ github.event.workflow_run.conclusion == 'success' }} + runs-on: ubuntu-latest + steps: + - run: echo "Running security tests" \ No newline at end of file