ci: test and lint at the same time

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-10 19:36:28 +02:00
parent 219b8d1a57
commit 5d4051f547

View file

@ -19,7 +19,7 @@ variables:
branchName: ${{ replace(variables['Build.SourceBranchName'], 'refs/heads/', '') }} branchName: ${{ replace(variables['Build.SourceBranchName'], 'refs/heads/', '') }}
stages: stages:
- stage: Lint - stage: Lint_and_test
jobs: jobs:
- job: pylint - job: pylint
pool: pool:
@ -118,8 +118,6 @@ stages:
- task: CmdLine@2 - task: CmdLine@2
inputs: inputs:
script: pipenv run pyright e2e lifecycle script: pipenv run pyright e2e lifecycle
- stage: Test
jobs:
- job: migrations - job: migrations
pool: pool:
vmImage: 'ubuntu-latest' vmImage: 'ubuntu-latest'