Skip to content

Promotion Test Environment #2

Promotion Test Environment

Promotion Test Environment #2

Workflow file for this run

# ------------------------------------------------------------------------------
# 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