From bef6edb34353e2b9f1cbf9bb3aa38b05e6bb4661 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Wed, 6 Feb 2019 10:39:59 -0500 Subject: [PATCH] Respect Atom.SkipTests --- script/vsts/platforms/linux.yml | 2 +- script/vsts/platforms/macos.yml | 2 +- script/vsts/platforms/windows.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/vsts/platforms/linux.yml b/script/vsts/platforms/linux.yml index 400fb75cf..f0273d7a8 100644 --- a/script/vsts/platforms/linux.yml +++ b/script/vsts/platforms/linux.yml @@ -41,7 +41,7 @@ jobs: searchFolder: $(Common.TestResultsDirectory) mergeTestResults: true testRunTitle: Linux - condition: succeededOrFailed() + condition: ne(variables['Atom.SkipTests'], 'true') - task: PublishBuildArtifacts@1 inputs: diff --git a/script/vsts/platforms/macos.yml b/script/vsts/platforms/macos.yml index 3d4041fc8..cdc9328e3 100644 --- a/script/vsts/platforms/macos.yml +++ b/script/vsts/platforms/macos.yml @@ -61,7 +61,7 @@ jobs: searchFolder: $(Common.TestResultsDirectory) mergeTestResults: true testRunTitle: MacOS - condition: succeededOrFailed() + condition: ne(variables['Atom.SkipTests'], 'true') - script: | cp $(Build.SourcesDirectory)/out/*.zip $(Build.ArtifactStagingDirectory) diff --git a/script/vsts/platforms/windows.yml b/script/vsts/platforms/windows.yml index 7dfa4143a..07d53bae2 100644 --- a/script/vsts/platforms/windows.yml +++ b/script/vsts/platforms/windows.yml @@ -86,7 +86,7 @@ jobs: searchFolder: $(Agent.HomeDirectory)\test-results mergeTestResults: true testRunTitle: Windows $(buildArch) - condition: succeededOrFailed() + condition: ne(variables['Atom.SkipTests'], 'true') - task: PublishBuildArtifacts@1 inputs: