Skip to content

Commit c368f3f

Browse files
committed
cleanup azure tests
1 parent 8aecb56 commit c368f3f

3 files changed

Lines changed: 3 additions & 79 deletions

File tree

.github/workflows/tox.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Python package
1+
name: tox
22

33
on:
44
- push
55
- pull_request
66

77
jobs:
8-
build:
8+
test:
99
runs-on: ${{ matrix.platform }}
1010
strategy:
1111
fail-fast: false

azure-pipelines.yml

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -6,77 +6,6 @@ pr:
66
- "*"
77

88
jobs:
9-
- job: pytest
10-
strategy:
11-
# use cross-product when https://github.com/microsoft/azure-pipelines-yaml/issues/20 is solved
12-
matrix:
13-
UbuntuPy36:
14-
python.version: '3.6'
15-
vmImage: 'ubuntu-latest'
16-
tox_env: 'py36'
17-
UbuntuPy37:
18-
python.version: '3.7'
19-
vmImage: 'ubuntu-latest'
20-
tox_env: 'py37'
21-
UbuntuPy38:
22-
python.version: '3.8'
23-
vmImage: 'ubuntu-latest'
24-
tox_env: 'py38'
25-
26-
macOSPy36:
27-
python.version: '3.6'
28-
vmImage: 'macOS-latest'
29-
tox_env: 'py36'
30-
macOSPy37:
31-
python.version: '3.7'
32-
vmImage: 'macOS-latest'
33-
tox_env: 'py37'
34-
macOSPy38:
35-
python.version: '3.8'
36-
vmImage: 'macOS-latest'
37-
tox_env: 'py38'
38-
39-
WindowsServerPy36:
40-
python.version: '3.6'
41-
vmImage: 'vs2017-win2016'
42-
tox_env: 'py36'
43-
WindowsServerPy37:
44-
python.version: '3.7'
45-
vmImage: 'vs2017-win2016'
46-
tox_env: 'py37'
47-
WindowsServerPy38:
48-
python.version: '3.8'
49-
vmImage: 'vs2017-win2016'
50-
tox_env: 'py38'
51-
52-
WindowsPy36:
53-
python.version: '3.6'
54-
vmImage: 'windows-latest'
55-
tox_env: 'py36'
56-
WindowsPy37:
57-
python.version: '3.7'
58-
vmImage: 'windows-latest'
59-
tox_env: 'py37'
60-
WindowsPy38:
61-
python.version: '3.8'
62-
vmImage: 'windows-latest'
63-
tox_env: 'py38'
64-
65-
pool:
66-
vmImage: '$(vmImage)'
67-
steps:
68-
- task: UsePythonVersion@0
69-
inputs:
70-
versionSpec: '$(python.version)'
71-
- script: pip install tox
72-
displayName: Install tox
73-
- script: tox -e $(tox_env)-mindeps
74-
displayName: Run the tests with minimal dependencies
75-
- script: tox -e clean
76-
displayName: Clean
77-
- script: tox -e $(tox_env)-alldeps
78-
displayName: Run the tests
79-
809
- job: coverage
8110
steps:
8211
- task: UsePythonVersion@0

tox.ini

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[tox]
33
isolated_build = True
4-
envlist = clean,py{36,37,38,39}-{mindeps,alldeps}-{linux,windows,macos},report,pre-commit,linux
4+
envlist = clean,py{36,37,38,39}-{mindeps,alldeps}-{linux,windows,macos},report
55

66
[gh-actions]
77
python =
@@ -60,11 +60,6 @@ deps = coverage
6060
skip_install = true
6161
commands = coverage erase
6262

63-
[testenv:pre-commit]
64-
skip_install = true
65-
deps = pre-commit
66-
commands = pre-commit run --all-files --show-diff-on-failure
67-
6863
[flake8]
6964
max-line-length = 100
7065
ignore = E501, W503, E203, E266, E741

0 commit comments

Comments
 (0)