mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-13 07:26:26 +00:00
fix(ci): use script instead of pwsh (#4394)
pwsh doesn't cancel if native command fails.
This commit is contained in:
parent
359486adc8
commit
11236730fb
1 changed files with 7 additions and 7 deletions
|
@ -9,10 +9,10 @@ steps:
|
||||||
versionSpec: '$(pythonVersion)'
|
versionSpec: '$(pythonVersion)'
|
||||||
displayName: 'Install Python'
|
displayName: 'Install Python'
|
||||||
|
|
||||||
- pwsh: python -m pip install --upgrade pip
|
- script: python -m pip install --upgrade pip
|
||||||
displayName: 'Install python tools'
|
displayName: 'Install python tools'
|
||||||
|
|
||||||
- pwsh: |
|
- script: |
|
||||||
git config --global user.email 'bot@renovateapp.com'
|
git config --global user.email 'bot@renovateapp.com'
|
||||||
git config --global user.name 'Renovate Bot'
|
git config --global user.name 'Renovate Bot'
|
||||||
node --version
|
node --version
|
||||||
|
@ -25,21 +25,21 @@ steps:
|
||||||
fetchDepth: 5
|
fetchDepth: 5
|
||||||
path: renovate
|
path: renovate
|
||||||
|
|
||||||
- pwsh: |
|
- script: |
|
||||||
yarn install --frozen-lockfile --link-duplicates
|
yarn install --frozen-lockfile --link-duplicates
|
||||||
pip install --user -r requirements.txt
|
pip install --user -r requirements.txt
|
||||||
displayName: 'Installing Dependencies'
|
displayName: 'Installing Dependencies'
|
||||||
|
|
||||||
- pwsh: |
|
- script: |
|
||||||
yarn lint
|
yarn lint
|
||||||
yarn test-schema
|
yarn test-schema
|
||||||
yarn type-check
|
yarn type-check
|
||||||
displayName: 'Lint'
|
displayName: 'Lint'
|
||||||
|
|
||||||
- pwsh: yarn build
|
- script: yarn build
|
||||||
displayName: 'Build'
|
displayName: 'Build'
|
||||||
|
|
||||||
- pwsh: yarn jest --maxWorkers=2 --ci --reporters=default --reporters=jest-junit --coverageReporters=text-summary --coverageReporters=cobertura
|
- script: yarn jest --maxWorkers=2 --ci --reporters=default --reporters=jest-junit --coverageReporters=text-summary --coverageReporters=cobertura
|
||||||
displayName: 'Unit Tests'
|
displayName: 'Unit Tests'
|
||||||
|
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
@ -56,5 +56,5 @@ steps:
|
||||||
displayName: 'Publish coverage results'
|
displayName: 'Publish coverage results'
|
||||||
condition: succeededOrFailed()
|
condition: succeededOrFailed()
|
||||||
|
|
||||||
- pwsh: yarn test-e2e
|
- script: yarn test-e2e
|
||||||
displayName: 'E2E Tests'
|
displayName: 'E2E Tests'
|
||||||
|
|
Loading…
Reference in a new issue