Skip to content

Commit

Permalink
add frontend tests to build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-ml committed Sep 19, 2023
1 parent 97f4830 commit 231269c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion pipelines/full-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,25 @@ stages:
- publish: $(System.DefaultWorkingDirectory)
artifact: working

- job: build_frontend
- job: test_frontend
dependsOn: build_python
timeoutInMinutes: 10
displayName: Test Frontend Code
env:
CI: "true"
steps:
- checkout: none
- download: current
artifact: working
- script: |
set -xv # Echo commands before they are run
npm test
workingDirectory: $(Pipeline.Workspace)/working/assemblyline-ui-frontend/
displayName: Test Frontend
- job: build_frontend
dependsOn: test_frontend
displayName: Build Frontend Image
steps:
- checkout: none
Expand Down

0 comments on commit 231269c

Please sign in to comment.