Skip to content

Commit

Permalink
Azure: trying newer ubuntu and python3 (#6)
Browse files Browse the repository at this point in the history
* Azure: trying newer ubuntu and python3

* Repair Azure Piplines for Pytest
Use Ubuntu 20.4 & Python3
  • Loading branch information
Miezhiko committed Dec 3, 2020
1 parent ec3000a commit 0f36f5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ glicko2 = "*"
scipy = "*"
uvicorn = "*"
fastapi = "*"

[requires]
python_version = "3.7"
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ trigger:
- master

pool:
vmImage: "ubuntu-18.04"
vmImage: "ubuntu-20.04"

steps:
- script: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install pipenv pytest
python -m pipenv install
python -m pytest
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install pipenv pytest
python3 -m pipenv install --system
python3 -m pytest
displayName: 'Run fastapi tests'

- task: PublishTestResults@2
Expand Down

0 comments on commit 0f36f5b

Please sign in to comment.