Skip to content

Commit

Permalink
updated tests call to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
adebayoolabintan committed Apr 25, 2023
1 parent 824a632 commit 6d543ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,22 @@ jobs:
app-name: 'c19dashsbuksfe01apiv2server'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: 'c19dashacrprod.azurecr.io/apiv2server:${{ github.run_id }}-sandbox'


test:
runs-on: ubuntu-latest
name: Automated Regression Tests of COVID19 Dashboard Website
needs: deploy
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" }}'
1 change: 0 additions & 1 deletion .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"\\app",
"\\app\\database"
],
"SelectedNode": "\\app\\database\\postgres.py",
"PreviewInSolutionExplorer": false
}

0 comments on commit 6d543ea

Please sign in to comment.