File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ extends:
2727 templateContext :
2828 type : releaseJob
2929 isProduction : true
30+ environment : durabletask-pypi-prod
3031 inputs :
3132 - input : pipelineArtifact
3233 pipeline : DurableTaskPythonBuildPipeline
@@ -63,6 +64,7 @@ extends:
6364 templateContext :
6465 type : releaseJob
6566 isProduction : true
67+ environment : durabletask-pypi-prod
6668 inputs :
6769 - input : pipelineArtifact
6870 pipeline : DurableTaskPythonBuildPipeline
Original file line number Diff line number Diff line change 8181 displayName : " pytest: durabletask (unit tests, no emulators)"
8282 workingDirectory : tests/durabletask
8383
84- - script : pytest -m "not dts" --verbose
84+ - script : pytest -m "not dts" --ignore=test_dts_activity_sequence.py -- verbose
8585 displayName : " pytest: durabletask-azuremanaged (unit tests, no emulators)"
8686 workingDirectory : tests/durabletask-azuremanaged
87+ # NOTE: `test_dts_activity_sequence.py` is `--ignore`d because it calls
88+ # `exit()` at module load time when TASKHUB isn't set, which crashes
89+ # pytest collection before its `pytest.mark.dts` marker can be applied.
90+ # The other `test_dts_*.py` files handle missing env vars more
91+ # gracefully and are filtered out by `-m "not dts"` as intended.
You can’t perform that action at this time.
0 commit comments