[Azure CI] Minor environment setup fixes

- Add extra deletion to ensure source workspace is clean for the job.
- pytest expects function names to start with test_


[ROCm/rccl commit: 805448261d]
This commit is contained in:
amd-jmacaran
2025-03-20 15:36:10 -04:00
parent e95578ef4c
commit 72454ece3e
3 changed files with 7 additions and 1 deletions
@@ -41,6 +41,9 @@ jobs:
workspace:
clean: all
steps:
- task: DeleteFiles@1
inputs:
Contents: '**/*'
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml@pipelines_repo
parameters:
submoduleBehaviour: recursive
@@ -46,6 +46,9 @@ stages:
workspace:
clean: all
steps:
- task: DeleteFiles@1
inputs:
Contents: '**/*'
- template: ${{ variables.CI_TEMPLATE_PATH }}/steps/checkout.yml@pipelines_repo
parameters:
submoduleBehaviour: recursive
@@ -1,5 +1,5 @@
import pytest
def TestHelloWorld():
def test_HelloWorld():
greeting = "Hello, World!"
assert greeting == "Hello, World!"