Added support for Video file resource #178
Workflow file for this run
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
--- | |
name: Run integration tests | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
jobs: | |
build-test-scan: | |
name: Build image and integration test | |
runs-on: ubuntu-latest | |
env: | |
CPD_GOOGLEANALYTICSTAG: ${{secrets.TF_VAR_CPD_GOOGLEANALYTICSTAG}} | |
CPD_SPACE_ID: ${{secrets.TF_VAR_CPD_SPACE_ID}} | |
CPD_PREVIEW_KEY: ${{secrets.TF_VAR_CPD_PREVIEW_KEY}} | |
CPD_DELIVERY_KEY: ${{secrets.TF_VAR_CPD_DELIVERY_KEY}} | |
CPD_CLARITY: ${{secrets.TF_VAR_CPD_CLARITY}} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Docker App Image | |
run: cd Childrens-Social-Care-CPD; docker build . --file Dockerfile --tag childrens-social-care-cpd:latest | |
- name: Run the dev integration tests | |
run: cd browser-tests/dev-integration-tests; docker-compose up --exit-code-from dev-integration-tests | |
- uses: actions/upload-artifact@v3 | |
name: Playwright report | |
if: always() | |
with: | |
name: playwright-report | |
retention-days: 7 | |
path: | | |
${{ github.workspace }}/browser-tests/dev-integration-tests/playwright-report | |
- name: Run Tidy up | |
if: always() | |
run: cd browser-tests/dev-integration-tests; docker-compose down --volumes |