[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_
Tá an tiomantas seo le fáil i:
amd-jmacaran tiomanta 2025-03-20 15:36:10 -04:00
1 tuismitheoir 6505639cf4
tiomantas 805448261d
3 comhad athraithe
+7 -1

Níor tháinig aon chomhaid le do chuardach

+3
Féach ar an gComhad
@@ -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
+3
Féach ar an gComhad
@@ -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 -1
Féach ar an gComhad
@@ -1,5 +1,5 @@
import pytest
def TestHelloWorld():
def test_HelloWorld():
greeting = "Hello, World!"
assert greeting == "Hello, World!"