mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 17:14:02 +03:00
docs: explicitly set CI=true in Azure DevOps pipeline (#24278)
Fixes https://github.com/microsoft/playwright/issues/24274 --------- Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
d0280ec8c7
commit
0b2516d71a
@ -500,6 +500,8 @@ steps:
|
|||||||
displayName: 'Install Playwright browsers'
|
displayName: 'Install Playwright browsers'
|
||||||
- script: npx playwright test
|
- script: npx playwright test
|
||||||
displayName: 'Run Playwright tests'
|
displayName: 'Run Playwright tests'
|
||||||
|
env:
|
||||||
|
CI: 'true'
|
||||||
```
|
```
|
||||||
|
|
||||||
```yml python
|
```yml python
|
||||||
@ -518,9 +520,9 @@ steps:
|
|||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
- script: npx playwright install --with-deps
|
- script: playwright install --with-deps
|
||||||
displayName: 'Install Playwright browsers'
|
displayName: 'Install Playwright browsers'
|
||||||
- script: npx playwright test
|
- script: pytest
|
||||||
displayName: 'Run Playwright tests'
|
displayName: 'Run Playwright tests'
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -591,6 +593,8 @@ steps:
|
|||||||
displayName: 'Install Playwright browsers'
|
displayName: 'Install Playwright browsers'
|
||||||
- script: npx playwright test
|
- script: npx playwright test
|
||||||
displayName: 'Run Playwright tests'
|
displayName: 'Run Playwright tests'
|
||||||
|
env:
|
||||||
|
CI: 'true'
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
displayName: 'Publish test results'
|
displayName: 'Publish test results'
|
||||||
inputs:
|
inputs:
|
||||||
@ -679,6 +683,8 @@ steps:
|
|||||||
displayName: 'Install Playwright browsers'
|
displayName: 'Install Playwright browsers'
|
||||||
- script: npx playwright test --project=$(project) --shard=$(shardIndex)/$(shardTotal)
|
- script: npx playwright test --project=$(project) --shard=$(shardIndex)/$(shardTotal)
|
||||||
displayName: 'Run Playwright tests'
|
displayName: 'Run Playwright tests'
|
||||||
|
env:
|
||||||
|
CI: 'true'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -702,6 +708,8 @@ steps:
|
|||||||
displayName: 'npm ci'
|
displayName: 'npm ci'
|
||||||
- script: npx playwright test
|
- script: npx playwright test
|
||||||
displayName: 'Run Playwright tests'
|
displayName: 'Run Playwright tests'
|
||||||
|
env:
|
||||||
|
CI: 'true'
|
||||||
```
|
```
|
||||||
|
|
||||||
```yml python
|
```yml python
|
||||||
|
Loading…
Reference in New Issue
Block a user