Skip to content

Merge pull request #87 from UKHSA-Internal/COVP-168_fix_testing_layout #23

Merge pull request #87 from UKHSA-Internal/COVP-168_fix_testing_layout

Merge pull request #87 from UKHSA-Internal/COVP-168_fix_testing_layout #23

name: Deploy to Sandbox....
on:
push:
branches:
- sandbox
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: UKHSA-Internal/[email protected]
with:
url: ${{ secrets.SANDBOXPUBLISHPROFILE }}
data: >
{"command": "publish"}
test:
runs-on: ubuntu-latest
name: Automated Regression Tests of COVID19 Dashboard Website
needs: build
steps:
# ## calls the AIQ-Automation-Covid-Dashboard workflow to run the automated tests
- name: Calls AIQ-Automation-Covid-Dashboard workflow to run the automated tests
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.ACCESS_TOKEN }} " \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/UKHSA-Internal/AIQ-Automation-Covid-Dashboard/actions/workflows/CovidDashboard_CI.yml/dispatches \
-d '{"ref":"main","inputs": { "DExecution_Env":"Sandbox", "DScenarioNameTest":"SmokeTests_Scenario" }}'