@@ -2,8 +2,9 @@ parameters:
2
2
name : Linux
3
3
4
4
steps :
5
- - script : python -m scripts.lint
6
- displayName : Lint
5
+ - ${{ if eq(parameters.name, 'Linux') }} :
6
+ - script : python -m scripts.lint
7
+ displayName : Lint
7
8
8
9
- ${{ if not(eq(parameters.name, 'Windows')) }} :
9
10
- script : python setup.py sdist --dist-dir=_artifacts/sdist
@@ -24,16 +25,6 @@ steps:
24
25
- script : BROWSER=headlesschrome python -m scripts.atest
25
26
displayName : Test on Chrome
26
27
27
- - ${{ if eq(parameters.name, 'Linux') }} :
28
- - script : sphinx-build -M html docs _artifacts/docs
29
- displayName : Build Docs
30
- - task : PublishPipelineArtifact@0
31
- displayName : Publish Docs
32
- inputs :
33
- targetPath : _artifacts/docs/html
34
- artifactName : JupyterLibrary Docs
35
- condition : always()
36
-
37
28
- task : PublishTestResults@2
38
29
displayName : Publish Test Results
39
30
inputs :
@@ -46,3 +37,13 @@ steps:
46
37
targetPath : _artifacts/test_output
47
38
artifactName : JupyterLibrary ${{ parameters.name }} Robot Logs
48
39
condition : always()
40
+
41
+ - ${{ if eq(parameters.name, 'Linux') }} :
42
+ - script : sphinx-build -M html docs _artifacts/docs
43
+ displayName : Build Docs
44
+ - task : PublishPipelineArtifact@0
45
+ displayName : Publish Docs
46
+ inputs :
47
+ targetPath : _artifacts/docs/html
48
+ artifactName : JupyterLibrary Docs
49
+ condition : always()
0 commit comments