Promotion Test Environment #2
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
# ------------------------------------------------------------------------------ | |
# Github Workflow to promote to test environment | |
# | |
# - This pipeline is triggered by a github Pull Request/merge | |
# | |
# 1) Checks out test branch | |
# 2) Run an import of all assets for this project in wM.io TEST environment | |
# 3) Run predefined tests for this project in wM.io TEST environment | |
# | |
# ------------------------------------------------------------------------------ | |
name: Deployment QA-Test | |
run-name: Promotion Test Environment | |
on: | |
push: | |
branches: | |
- test | |
paths: | |
- 'assets/**' | |
jobs: | |
# ------------------------------- | |
# Import test assets to wM.io | |
# ------------------------------- | |
Promote-Assets: | |
uses: HMHansson/ICA-DevOps/.github/workflows/promote.yml@main | |
secrets: inherit | |
with: | |
environment: Test | |
# ------------------------------- | |
# Validate TEST with test cases | |
# ------------------------------- | |
QA-Test: | |
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} | |
needs: [Promote-Assets] | |
uses: HMHansson/ICA-DevOps/.github/workflows/validation-bruno.yml@main | |
secrets: inherit | |
with: | |
environment: Test |