generated from DFE-Digital/govuk-dotnet-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integration tests GitHub Workflow (#569)
* Bump checkout and upload-artifact v3 to 4. * Verify Docker Compose installation * Install Docker Compose * Node and NPM * - * - * - * - * Env vars * Updates * True * Revert * - * - --------- Co-authored-by: Matt Barton <[email protected]>
- Loading branch information
1 parent
3e71214
commit 3c57de6
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,35 @@ jobs: | |
CPD_DELIVERY_KEY: ${{secrets.TF_VAR_CPD_DELIVERY_KEY}} | ||
CPD_CLARITY: ${{secrets.TF_VAR_CPD_CLARITY}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build the Docker App Image | ||
run: cd Childrens-Social-Care-CPD; docker build . --file Dockerfile --tag childrens-social-care-cpd:latest | ||
|
||
- name: Install Docker Compose | ||
uses: ndeloof/[email protected] | ||
with: | ||
version: latest | ||
legacy: true # install in PATH as `docker-compose` | ||
|
||
- name: Verify Docker Compose installation | ||
run: docker-compose --version | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'latest' | ||
|
||
- name: Install latest NPM version | ||
run: npm install -g npm@latest | ||
|
||
- name: Verify NPM version | ||
run: npm version | ||
|
||
- 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 | ||
- uses: actions/upload-artifact@v4 | ||
name: Playwright report | ||
if: always() | ||
with: | ||
|
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