From 4e833c1b7126ad6aaf5d6e8d3b97c1b7dadec41e Mon Sep 17 00:00:00 2001 From: Richard North Date: Sat, 18 Apr 2020 21:20:41 +0100 Subject: [PATCH] Check if agent.os is available --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8a44ad90b7c..34828157bba 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,7 +2,7 @@ variables: ${{ if eq(variables['Agent.OS'], 'Linux') }}: # Run minimal core subset of tests on Linux tasks: "testcontainers:test --tests GenericContainerRuleTest" - ${{ if eq(variables['Agent.OS'], 'Windows_NT') }}: + ${{ if ne(variables['Agent.OS'], 'Linux') }}: # Run all checks on Windows tasks: "check"