Reorganizes pipeline test stages
Consolidates test stages for pull requests by moving the unit tests stage to run after the playwright tests to optimize the pipeline execution flow. This allows for faster feedback on UI related issues.
This commit is contained in:
parent
b24c32781c
commit
a27f3fadf0
1 changed files with 7 additions and 10 deletions
|
|
@ -51,16 +51,7 @@ stages:
|
|||
displayName: Run Prettier check
|
||||
|
||||
- stage: TestPr
|
||||
displayName: Run Unit Tests For PullRequest
|
||||
jobs:
|
||||
- template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps
|
||||
parameters:
|
||||
nodeContainer: node
|
||||
npmLocation: $(Build.SourcesDirectory)
|
||||
testResultsFile: junit.xml
|
||||
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
||||
- stage: TestPrPlaywright
|
||||
displayName: Run Playwright Tests For PullRequest
|
||||
displayName: Run Tests For PullRequest
|
||||
jobs:
|
||||
- template: temp/playwright-test.yml
|
||||
parameters:
|
||||
|
|
@ -76,6 +67,12 @@ stages:
|
|||
secrets:
|
||||
CCIS_API_AUTH: $(CCIS_API_AUTH)
|
||||
JIRA_API_KEY: $(JIRA_API_KEY)
|
||||
- template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps
|
||||
parameters:
|
||||
nodeContainer: node
|
||||
npmLocation: $(Build.SourcesDirectory)
|
||||
testResultsFile: junit.xml
|
||||
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
||||
- ${{ else }}:
|
||||
# Dev Build/Deploy
|
||||
- stage: Dev
|
||||
|
|
|
|||
Loading…
Reference in a new issue