File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -1933,6 +1933,22 @@ tasks:
1933
1933
DOTNET_SDK_PATH="${DOTNET_SDK_PATH}" bash ./evergreen/install-dependencies.sh
1934
1934
DRIVER_VERSION="${PACKAGE_VERSION}" bash ./evergreen/run-tests.sh
1935
1935
1936
+ - name : test-analyzer
1937
+ commands :
1938
+ - command : expansions.update
1939
+ params :
1940
+ updates :
1941
+ - key : TEST_RESULTS_PATH
1942
+ value : " ./analyzer/build/test-results/TEST-*.xml"
1943
+ - func : run-external-script
1944
+ vars :
1945
+ GIT_REPO : " https://github.com/mongodb/mongo-csharp-analyzer.git"
1946
+ LOCAL_PATH : ${workdir}/analyzer
1947
+ SCRIPT : |
1948
+ ${PREPARE_SHELL}
1949
+ DOTNET_SDK_PATH="${DOTNET_SDK_PATH}" bash ./evergreen/install-dependencies.sh
1950
+ DRIVER_VERSION="${PACKAGE_VERSION}" TARGET_FRAMEWORK=netcoreapp3.1 bash ./evergreen/run-tests.sh
1951
+
1936
1952
axes :
1937
1953
- id : version
1938
1954
display_name : MongoDB Version
@@ -2810,3 +2826,14 @@ buildvariants:
2810
2826
depends_on :
2811
2827
- name : push-packages-myget
2812
2828
variant : " .push-packages-myget"
2829
+
2830
+ - matrix_name : analyzer-tests
2831
+ batchtime : 720 # 12 hours
2832
+ matrix_spec :
2833
+ os : ["ubuntu-2004", "windows-64"]
2834
+ display_name : " Analyzer tests on ${os}"
2835
+ tasks :
2836
+ - name : test-analyzer
2837
+ depends_on :
2838
+ - name : push-packages-myget
2839
+ variant : " .push-packages-myget"
You can’t perform that action at this time.
0 commit comments