Skip to content

Commit

Permalink
Update accessibility-tests.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Oct 20, 2023
1 parent 20d9c98 commit 170c96e
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions accessibility-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,25 @@ jobs:
displayName: 'build prod'
- script: |
npm run visual-regression-tests:ci:knockout
displayName: 'Visual Regression Tests'
npm run accessibility-tests:ci:knockout
displayName: 'Accessibility Tests'
- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/visualRegressionTests'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Knockout_VRT'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Knockout_AXE'
OverWrite: true
condition: always()
displayName: 'copy vrt artifacts'
displayName: 'copy accessibility artifacts'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Knockout_VRT/'
ArtifactName: 'Library_Knockout_VRT'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Knockout_AXE/'
ArtifactName: 'Library_Knockout_AXE'
publishLocation: 'Container'
condition: always()
displayName: 'publish vrt artifacts'
displayName: 'publish accessibility artifacts'

- job: React
steps:
Expand Down Expand Up @@ -120,25 +120,25 @@ jobs:
displayName: 'build prod'
- script: |
npm run visual-regression-tests:ci:react
displayName: 'Visual Regression Tests'
npm run accessibility-tests:ci:react
displayName: 'Accessibility Tests'
- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/visualRegressionTests'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_React_VRT'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_React_AXE'
OverWrite: true
condition: always()
displayName: 'copy vrt artifacts'
displayName: 'copy accessibility artifacts'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_React_VRT/'
ArtifactName: 'Library_React_VRT'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_React_AXE/'
ArtifactName: 'Library_React_AXE'
publishLocation: 'Container'
condition: always()
displayName: 'publish vrt artifacts'
displayName: 'publish accessibility artifacts'

- job: Vue
steps:
Expand Down Expand Up @@ -181,25 +181,25 @@ jobs:
displayName: 'build prod'
- script: |
npm run visual-regression-tests:ci:vue
displayName: 'Visual Regression Tests'
npm run accessibility-tests:ci:vue
displayName: 'Accessibility Tests'
- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/visualRegressionTests'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Vue_VRT'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Vue_AXE'
OverWrite: true
condition: always()
displayName: 'copy vrt artifacts'
displayName: 'copy accessibility artifacts'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Vue_VRT/'
ArtifactName: 'Library_Vue_VRT'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Vue_AXE/'
ArtifactName: 'Library_Vue_AXE'
publishLocation: 'Container'
condition: always()
displayName: 'publish vrt artifacts'
displayName: 'publish accessibility artifacts'

- job: Angular
steps:
Expand Down Expand Up @@ -267,25 +267,25 @@ jobs:
displayName: "Build Angular Example"
- script: |
npm run visual-regression-tests:ci:angular
displayName: "run vrt tests"
npm run accessibility-tests:ci:angular
displayName: "run accessibility tests"
- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/visualRegressionTests'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Angular_VRT'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Angular_AXE'
OverWrite: true
condition: always()
displayName: 'copy vrt artifacts'
displayName: 'copy accessibility artifacts'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Angular_VRT/'
ArtifactName: 'Library_Angular_VRT'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Angular_AXE/'
ArtifactName: 'Library_Angular_AXE'
publishLocation: 'Container'
condition: always()
displayName: 'publish vrt artifacts'
displayName: 'publish accessibility artifacts'

- job: Vue3
steps:
Expand Down Expand Up @@ -353,22 +353,22 @@ jobs:
displayName: "Build Vue3 Example"
- script: |
npm run visual-regression-tests:ci:vue3
displayName: "run vrt tests"
npm run accessibility-tests:ci:vue3
displayName: "run accessibility tests"
- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/visualRegressionTests'
Contents: '**'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Vue3_VRT'
TargetFolder: '$(Build.ArtifactStagingDirectory)/Library_Vue3_AXE'
OverWrite: true
condition: always()
displayName: 'copy vrt artifacts'
displayName: 'copy accessibility artifacts'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Vue3_VRT/'
ArtifactName: 'Library_Vue3_VRT'
PathtoPublish: '$(Build.ArtifactStagingDirectory)/Library_Vue3_AXE/'
ArtifactName: 'Library_Vue3_AXE'
publishLocation: 'Container'
condition: always()
displayName: 'publish vrt artifacts'
displayName: 'publish accessibility artifacts'

0 comments on commit 170c96e

Please sign in to comment.