Skip to content

Commit aa32128

Browse files
committed
Work CII-CD
- Add condition to skip hardware tests. ***NO_CI***
1 parent 18bf9ab commit aa32128

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ stages:
7777
path: '$(System.DefaultWorkingDirectory)'
7878
artifactName: 'Artifacts'
7979

80-
- ${{ each appComponents in parameters.appComponents }}:
81-
- template: azure-pipelines-templates/device-test.yml@templates
82-
parameters:
83-
appComponents: ${{ appComponents }}
84-
unitTestRunsettings:
85-
- 'nanoFramework.Protobuf.Test.nano/nano.runsettings,nanoFramework.Protobuf.Test.nano/bin/Release/NFUnitTest.dll'
80+
- ${{ each appComponents in parameters.appComponents }}:
81+
- ${{ if ne(appComponents, 'none') }}:
82+
- template: azure-pipelines-templates/device-test.yml@templates
83+
parameters:
84+
appComponents: ${{ appComponents }}
85+
unitTestRunsettings:
86+
- 'nanoFramework.Protobuf.Test.nano/nano.runsettings,nanoFramework.Protobuf.Test.nano/bin/Release/NFUnitTest.dll'

0 commit comments

Comments
 (0)