Browse code

bump vmImages

Bas Nijholt authored on 07/04/2020 09:38:05
Showing 1 changed files
... ...
@@ -12,28 +12,28 @@ jobs:
12 12
     matrix:
13 13
       UbuntuPy36:
14 14
         python.version: '3.6'
15
-        vmImage: 'ubuntu-16.04'
15
+        vmImage: 'ubuntu-latest'
16 16
         tox_env: 'py36'
17 17
       UbuntuPy37:
18 18
         python.version: '3.7'
19
-        vmImage: 'ubuntu-16.04'
19
+        vmImage: 'ubuntu-latest'
20 20
         tox_env: 'py37'
21 21
       UbuntuPy38:
22 22
         python.version: '3.8'
23
-        vmImage: 'ubuntu-16.04'
23
+        vmImage: 'ubuntu-latest'
24 24
         tox_env: 'py38'
25 25
 
26 26
       macOSPy36:
27 27
         python.version: '3.6'
28
-        vmImage: 'macOS-10.13'
28
+        vmImage: 'macOS-latest'
29 29
         tox_env: 'py36'
30 30
       macOSPy37:
31 31
         python.version: '3.7'
32
-        vmImage: 'macOS-10.13'
32
+        vmImage: 'macOS-latest'
33 33
         tox_env: 'py37'
34 34
       macOSPy38:
35 35
         python.version: '3.8'
36
-        vmImage: 'macOS-10.13'
36
+        vmImage: 'macOS-latest'
37 37
         tox_env: 'py38'
38 38
 
39 39
       WindowsServerPy36:
Browse code

test against windows-latest in CI

Bas Nijholt authored on 17/12/2019 17:22:01
Showing 1 changed files
... ...
@@ -10,44 +10,58 @@ jobs:
10 10
   strategy:
11 11
     # use cross-product when https://github.com/microsoft/azure-pipelines-yaml/issues/20 is solved
12 12
     matrix:
13
-      UbuntuPython36:
13
+      UbuntuPy36:
14 14
         python.version: '3.6'
15 15
         vmImage: 'ubuntu-16.04'
16 16
         tox_env: 'py36'
17
-      UbuntuPython37:
17
+      UbuntuPy37:
18 18
         python.version: '3.7'
19 19
         vmImage: 'ubuntu-16.04'
20 20
         tox_env: 'py37'
21
-      UbuntuPython38:
21
+      UbuntuPy38:
22 22
         python.version: '3.8'
23 23
         vmImage: 'ubuntu-16.04'
24 24
         tox_env: 'py38'
25 25
 
26
-      macOSPython36:
26
+      macOSPy36:
27 27
         python.version: '3.6'
28 28
         vmImage: 'macOS-10.13'
29 29
         tox_env: 'py36'
30
-      macOSPython37:
30
+      macOSPy37:
31 31
         python.version: '3.7'
32 32
         vmImage: 'macOS-10.13'
33 33
         tox_env: 'py37'
34
-      macOSPython38:
34
+      macOSPy38:
35 35
         python.version: '3.8'
36 36
         vmImage: 'macOS-10.13'
37 37
         tox_env: 'py38'
38 38
 
39
-      WindowsPython36:
39
+      WindowsServerPy36:
40 40
         python.version: '3.6'
41 41
         vmImage: 'vs2017-win2016'
42 42
         tox_env: 'py36'
43
-      WindowsPython37:
43
+      WindowsServerPy37:
44 44
         python.version: '3.7'
45 45
         vmImage: 'vs2017-win2016'
46 46
         tox_env: 'py37'
47
-      WindowsPython38:
47
+      WindowsServerPy38:
48 48
         python.version: '3.8'
49 49
         vmImage: 'vs2017-win2016'
50 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
+
51 65
   pool:
52 66
     vmImage: '$(vmImage)'
53 67
   steps:
Browse code

use py37-alldeps for coverage

Bas Nijholt authored on 17/12/2019 14:02:26
Showing 1 changed files
... ...
@@ -70,7 +70,7 @@ jobs:
70 70
       versionSpec: '3.7'
71 71
   - script: pip install tox
72 72
     displayName: Install tox
73
-  - script: tox -e py37,report
73
+  - script: tox -e py37-alldeps,report
74 74
     displayName: Run the tests and generate coverage
75 75
   - script: |
76 76
       pip install codecov
Browse code

update Azure config to use new tox environments

Joseph Weston authored on 17/12/2019 13:39:55
Showing 1 changed files
... ...
@@ -13,41 +13,41 @@ jobs:
13 13
       UbuntuPython36:
14 14
         python.version: '3.6'
15 15
         vmImage: 'ubuntu-16.04'
16
-        tox_env: '36'
16
+        tox_env: 'py36'
17 17
       UbuntuPython37:
18 18
         python.version: '3.7'
19 19
         vmImage: 'ubuntu-16.04'
20
-        tox_env: '37'
20
+        tox_env: 'py37'
21 21
       UbuntuPython38:
22 22
         python.version: '3.8'
23 23
         vmImage: 'ubuntu-16.04'
24
-        tox_env: '38'
24
+        tox_env: 'py38'
25 25
 
26 26
       macOSPython36:
27 27
         python.version: '3.6'
28 28
         vmImage: 'macOS-10.13'
29
-        tox_env: '36'
29
+        tox_env: 'py36'
30 30
       macOSPython37:
31 31
         python.version: '3.7'
32 32
         vmImage: 'macOS-10.13'
33
-        tox_env: '37'
33
+        tox_env: 'py37'
34 34
       macOSPython38:
35 35
         python.version: '3.8'
36 36
         vmImage: 'macOS-10.13'
37
-        tox_env: '38'
37
+        tox_env: 'py38'
38 38
 
39 39
       WindowsPython36:
40 40
         python.version: '3.6'
41 41
         vmImage: 'vs2017-win2016'
42
-        tox_env: '36'
42
+        tox_env: 'py36'
43 43
       WindowsPython37:
44 44
         python.version: '3.7'
45 45
         vmImage: 'vs2017-win2016'
46
-        tox_env: '37'
46
+        tox_env: 'py37'
47 47
       WindowsPython38:
48 48
         python.version: '3.8'
49 49
         vmImage: 'vs2017-win2016'
50
-        tox_env: '38'
50
+        tox_env: 'py38'
51 51
   pool:
52 52
     vmImage: '$(vmImage)'
53 53
   steps:
... ...
@@ -56,11 +56,11 @@ jobs:
56 56
       versionSpec: '$(python.version)'
57 57
   - script: pip install tox
58 58
     displayName: Install tox
59
-  - script: tox -e bare$(tox_env)
60
-    displayName: Run the bare tests
59
+  - script: tox -e $(tox_env)-mindeps
60
+    displayName: Run the tests with minimal dependencies
61 61
   - script: tox -e clean
62 62
     displayName: Clean
63
-  - script: tox -e py$(tox_env)
63
+  - script: tox -e $(tox_env)-alldeps
64 64
     displayName: Run the tests
65 65
 
66 66
 - job: coverage
Browse code

use test matrix

Bas Nijholt authored on 17/12/2019 11:43:39
Showing 1 changed files
... ...
@@ -6,43 +6,76 @@ pr:
6 6
   - "*"
7 7
 
8 8
 jobs:
9
-- job: pytest36
9
+- job: pytest
10
+  strategy:
11
+    # use cross-product when https://github.com/microsoft/azure-pipelines-yaml/issues/20 is solved
12
+    matrix:
13
+      UbuntuPython36:
14
+        python.version: '3.6'
15
+        vmImage: 'ubuntu-16.04'
16
+        tox_env: '36'
17
+      UbuntuPython37:
18
+        python.version: '3.7'
19
+        vmImage: 'ubuntu-16.04'
20
+        tox_env: '37'
21
+      UbuntuPython38:
22
+        python.version: '3.8'
23
+        vmImage: 'ubuntu-16.04'
24
+        tox_env: '38'
25
+
26
+      macOSPython36:
27
+        python.version: '3.6'
28
+        vmImage: 'macOS-10.13'
29
+        tox_env: '36'
30
+      macOSPython37:
31
+        python.version: '3.7'
32
+        vmImage: 'macOS-10.13'
33
+        tox_env: '37'
34
+      macOSPython38:
35
+        python.version: '3.8'
36
+        vmImage: 'macOS-10.13'
37
+        tox_env: '38'
38
+
39
+      WindowsPython36:
40
+        python.version: '3.6'
41
+        vmImage: 'vs2017-win2016'
42
+        tox_env: '36'
43
+      WindowsPython37:
44
+        python.version: '3.7'
45
+        vmImage: 'vs2017-win2016'
46
+        tox_env: '37'
47
+      WindowsPython38:
48
+        python.version: '3.8'
49
+        vmImage: 'vs2017-win2016'
50
+        tox_env: '38'
51
+  pool:
52
+    vmImage: '$(vmImage)'
10 53
   steps:
11 54
   - task: UsePythonVersion@0
12 55
     inputs:
13
-      versionSpec: '3.6'
56
+      versionSpec: '$(python.version)'
14 57
   - script: pip install tox
15
-    displayName: 'Install tox'
16
-  - script: tox -e py36
17
-    displayName: 'Run the tests'
58
+    displayName: Install tox
59
+  - script: tox -e bare$(tox_env)
60
+    displayName: Run the bare tests
61
+  - script: tox -e clean
62
+    displayName: Clean
63
+  - script: tox -e py$(tox_env)
64
+    displayName: Run the tests
18 65
 
19
-- job: pytest37
66
+- job: coverage
20 67
   steps:
21 68
   - task: UsePythonVersion@0
22 69
     inputs:
23 70
       versionSpec: '3.7'
24 71
   - script: pip install tox
25
-    displayName: 'Install tox'
26
-  - script: tox -e py37
27
-    displayName: 'Run the tests'
28
-  - script: tox -e report
29
-    displayName: 'Test coverage'
72
+    displayName: Install tox
73
+  - script: tox -e py37,report
74
+    displayName: Run the tests and generate coverage
30 75
   - script: |
31 76
       pip install codecov
32 77
       codecov -t $(CODECOV_TOKEN) -f .coverage.xml
33
-    displayName: 'Test upload coverage'
34
-  - script: tox -e clean
35
-    displayName: 'Test cleanup'
36
-
37
-- job: pytest38
38
-  steps:
39
-  - task: UsePythonVersion@0
40
-    inputs:
41
-      versionSpec: '3.8'
42
-  - script: pip install tox
43
-    displayName: 'Install tox'
44
-  - script: tox -e py38
45
-    displayName: 'Run the tests'
78
+    displayName: Test upload coverage
46 79
 
47 80
 - job: pre_commit
48 81
   steps:
... ...
@@ -50,9 +83,9 @@ jobs:
50 83
     inputs:
51 84
       versionSpec: '3.7'
52 85
   - script: pip install tox
53
-    displayName: 'Install tox'
86
+    displayName: Install tox
54 87
   - script: tox -e pre-commit
55
-    displayName: 'Lining tests'
88
+    displayName: Lining tests
56 89
 
57 90
 - job: authors_check
58 91
   steps:
Browse code

upload coverage and include Python 3.8

Bas Nijholt authored on 16/12/2019 21:37:05
Showing 1 changed files
... ...
@@ -25,8 +25,24 @@ jobs:
25 25
     displayName: 'Install tox'
26 26
   - script: tox -e py37
27 27
     displayName: 'Run the tests'
28
-  - script: tox -e clean,report
28
+  - script: tox -e report
29 29
     displayName: 'Test coverage'
30
+  - script: |
31
+      pip install codecov
32
+      codecov -t $(CODECOV_TOKEN) -f .coverage.xml
33
+    displayName: 'Test upload coverage'
34
+  - script: tox -e clean
35
+    displayName: 'Test cleanup'
36
+
37
+- job: pytest38
38
+  steps:
39
+  - task: UsePythonVersion@0
40
+    inputs:
41
+      versionSpec: '3.8'
42
+  - script: pip install tox
43
+    displayName: 'Install tox'
44
+  - script: tox -e py38
45
+    displayName: 'Run the tests'
30 46
 
31 47
 - job: pre_commit
32 48
   steps:
Browse code

use tox in azure-pipelines.yml

Bas Nijholt authored on 16/12/2019 19:11:13
Showing 1 changed files
... ...
@@ -1,33 +1,45 @@
1
+trigger:
2
+  branches:
3
+    include:
4
+    - master
5
+pr:
6
+  - "*"
7
+
1 8
 jobs:
2
-- job: unit_tests
9
+- job: pytest36
3 10
   steps:
4
-  - bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
5
-    displayName: Add conda to PATH
6
-
7
-  - script: conda env create --quiet --file environment.yml
8
-    displayName: Create Anaconda environment
9
-
10
-  - script: |
11
-      source activate adaptive
12
-      pip install -r test-requirements.txt
13
-    displayName: 'Install test-requirements.txt'
14
-
15
-  - script: |
16
-      source activate adaptive
17
-      pytest --verbose --cov=adaptive --cov-report term --cov-report html adaptive
11
+  - task: UsePythonVersion@0
12
+    inputs:
13
+      versionSpec: '3.6'
14
+  - script: pip install tox
15
+    displayName: 'Install tox'
16
+  - script: tox -e py36
18 17
     displayName: 'Run the tests'
19 18
 
20
-- job: linting_tests
19
+- job: pytest37
21 20
   steps:
22
-  - bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
23
-    displayName: Add conda to PATH
21
+  - task: UsePythonVersion@0
22
+    inputs:
23
+      versionSpec: '3.7'
24
+  - script: pip install tox
25
+    displayName: 'Install tox'
26
+  - script: tox -e py37
27
+    displayName: 'Run the tests'
28
+  - script: tox -e clean,report
29
+    displayName: 'Test coverage'
24 30
 
25
-  - script: |
26
-      pip install pre_commit
27
-      pre-commit install
28
-      pre-commit run --all-files --show-diff-on-failure
29
-    displayName: 'Run pre-commit'
31
+- job: pre_commit
32
+  steps:
33
+  - task: UsePythonVersion@0
34
+    inputs:
35
+      versionSpec: '3.7'
36
+  - script: pip install tox
37
+    displayName: 'Install tox'
38
+  - script: tox -e pre-commit
39
+    displayName: 'Lining tests'
30 40
 
41
+- job: authors_check
42
+  steps:
31 43
   - script: |
32 44
       MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
33 45
       if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
Browse code

add --show-diff-on-failure to pre-commit

Bas Nijholt authored on 16/12/2019 09:34:42
Showing 1 changed files
... ...
@@ -25,7 +25,7 @@ jobs:
25 25
   - script: |
26 26
       pip install pre_commit
27 27
       pre-commit install
28
-      pre-commit run --all-files
28
+      pre-commit run --all-files --show-diff-on-failure
29 29
     displayName: 'Run pre-commit'
30 30
 
31 31
   - script: |
Browse code

add continueOnError for AUTHORS check

Bas Nijholt authored on 24/06/2019 23:03:53
Showing 1 changed files
... ...
@@ -32,3 +32,4 @@ jobs:
32 32
       MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
33 33
       if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
34 34
     displayName: 'Authors check'
35
+    continueOnError: true
Browse code

split the pipelines into different jobs

Bas Nijholt authored on 08/05/2019 19:26:27
Showing 1 changed files
... ...
@@ -1,28 +1,34 @@
1
-steps:
2
-- bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
3
-  displayName: Add conda to PATH
1
+jobs:
2
+- job: unit_tests
3
+  steps:
4
+  - bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
5
+    displayName: Add conda to PATH
4 6
 
5
-- script: conda env create --quiet --file environment.yml
6
-  displayName: Create Anaconda environment
7
+  - script: conda env create --quiet --file environment.yml
8
+    displayName: Create Anaconda environment
7 9
 
8
-- script: |
9
-    source activate adaptive
10
-    pip install -r test-requirements.txt
11
-  displayName: 'Install test-requirements.txt'
10
+  - script: |
11
+      source activate adaptive
12
+      pip install -r test-requirements.txt
13
+    displayName: 'Install test-requirements.txt'
12 14
 
13
-- script: |
14
-    source activate adaptive
15
-    pytest --verbose --cov=adaptive --cov-report term --cov-report html adaptive
16
-  displayName: 'Run the tests'
15
+  - script: |
16
+      source activate adaptive
17
+      pytest --verbose --cov=adaptive --cov-report term --cov-report html adaptive
18
+    displayName: 'Run the tests'
17 19
 
18
-- script: |
19
-    MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
20
-    if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
21
-  continueOnError: true
22
-  displayName: 'Authors check'
20
+- job: linting_tests
21
+  steps:
22
+  - bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
23
+    displayName: Add conda to PATH
23 24
 
24
-- script: |
25
-    source activate adaptive
26
-    pre-commit install
27
-    pre-commit run --all-files
28
-  displayName: 'Run pre-commit'
25
+  - script: |
26
+      pip install pre_commit
27
+      pre-commit install
28
+      pre-commit run --all-files
29
+    displayName: 'Run pre-commit'
30
+
31
+  - script: |
32
+      MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
33
+      if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
34
+    displayName: 'Authors check'
Browse code

run pre-commit in CI

Bas Nijholt authored on 08/05/2019 02:35:26
Showing 1 changed files
... ...
@@ -23,5 +23,6 @@ steps:
23 23
 
24 24
 - script: |
25 25
     source activate adaptive
26
-    black . --check -t py36
27
-  displayName: 'Run lint tests'
26
+    pre-commit install
27
+    pre-commit run --all-files
28
+  displayName: 'Run pre-commit'
Browse code

remove whitespace check from the pipeline

Bas Nijholt authored on 08/05/2019 02:30:48
Showing 1 changed files
... ...
@@ -21,10 +21,6 @@ steps:
21 21
   continueOnError: true
22 22
   displayName: 'Authors check'
23 23
 
24
-- script: ./check_whitespace
25
-  continueOnError: true
26
-  displayName: 'Whitespace check'
27
-
28 24
 - script: |
29 25
     source activate adaptive
30 26
     black . --check -t py36
Browse code

add pre-commit with black, flake8, and whitespace fixers

Bas Nijholt authored on 06/05/2019 20:12:32
Showing 1 changed files
... ...
@@ -24,3 +24,8 @@ steps:
24 24
 - script: ./check_whitespace
25 25
   continueOnError: true
26 26
   displayName: 'Whitespace check'
27
+
28
+- script: |
29
+    source activate adaptive
30
+    black . --check -t py36
31
+  displayName: 'Run lint tests'
Browse code

use pytest rather than py.test (#189)

It's been a while since `pytest` command exists (pytest 3.0.0 released in August 2016). From [this](https://docs.pytest.org/en/latest/changelog.html#id760):
> Introduce pytest command as recommended entry point. Note that py.test still works and is not scheduled for removal.

Bas Nijholt authored on 29/04/2019 21:49:48 • GitHub committed on 29/04/2019 21:49:48
Showing 1 changed files
... ...
@@ -12,7 +12,7 @@ steps:
12 12
 
13 13
 - script: |
14 14
     source activate adaptive
15
-    py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
15
+    pytest --verbose --cov=adaptive --cov-report term --cov-report html adaptive
16 16
   displayName: 'Run the tests'
17 17
 
18 18
 - script: |
Browse code

install a new environment

this is much faster

Bas Nijholt authored on 05/03/2019 15:49:48
Showing 1 changed files
... ...
@@ -2,16 +2,17 @@ steps:
2 2
 - bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
3 3
   displayName: Add conda to PATH
4 4
 
5
-- bash: sudo chown -R $USER /usr/share/miniconda
6
-  displayName: Take ownership of conda installation
5
+- script: conda env create --quiet --file environment.yml
6
+  displayName: Create Anaconda environment
7 7
 
8
-- script: conda env update --name root --quiet --file environment.yml
9
-  displayName: Create conda environment
10
-
11
-- script: pip install -r test-requirements.txt
8
+- script: |
9
+    source activate adaptive
10
+    pip install -r test-requirements.txt
12 11
   displayName: 'Install test-requirements.txt'
13 12
 
14
-- script: py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
13
+- script: |
14
+    source activate adaptive
15
+    py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
15 16
   displayName: 'Run the tests'
16 17
 
17 18
 - script: |
Browse code

invoke conda directly in CI

The Conda Environment task is deprecated
https://github.com/Microsoft/azure-pipelines-tasks/pull/9573

Bas Nijholt authored on 05/03/2019 15:41:21
Showing 1 changed files
... ...
@@ -1,22 +1,12 @@
1 1
 steps:
2
-- task: CondaEnvironment@1
3
-  inputs:
4
-    packageSpecs: >
5
-      python=3.6
6
-      sortedcontainers
7
-      sortedcollections
8
-      scipy
9
-      holoviews
10
-      ipyparallel
11
-      distributed
12
-      ipykernel>=4.8*
13
-      jupyter_client>=5.2.2
14
-      ipywidgets
15
-      scikit-optimize
16
-      plotly
17
-    createCustomEnvironment: true
18
-    createOptions: "-c conda-forge"
19
-    environmentName: 'adaptive'
2
+- bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin"
3
+  displayName: Add conda to PATH
4
+
5
+- bash: sudo chown -R $USER /usr/share/miniconda
6
+  displayName: Take ownership of conda installation
7
+
8
+- script: conda env update --name root --quiet --file environment.yml
9
+  displayName: Create conda environment
20 10
 
21 11
 - script: pip install -r test-requirements.txt
22 12
   displayName: 'Install test-requirements.txt'
Browse code

create CI config for Azure DevOps

because we are transitioning from GitLab to GitHub

Bas Nijholt authored on 19/12/2018 17:46:44 • GitHub committed on 19/12/2018 17:46:44
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,35 @@
1
+steps:
2
+- task: CondaEnvironment@1
3
+  inputs:
4
+    packageSpecs: >
5
+      python=3.6
6
+      sortedcontainers
7
+      sortedcollections
8
+      scipy
9
+      holoviews
10
+      ipyparallel
11
+      distributed
12
+      ipykernel>=4.8*
13
+      jupyter_client>=5.2.2
14
+      ipywidgets
15
+      scikit-optimize
16
+      plotly
17
+    createCustomEnvironment: true
18
+    createOptions: "-c conda-forge"
19
+    environmentName: 'adaptive'
20
+
21
+- script: pip install -r test-requirements.txt
22
+  displayName: 'Install test-requirements.txt'
23
+
24
+- script: py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
25
+  displayName: 'Run the tests'
26
+
27
+- script: |
28
+    MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
29
+    if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
30
+  continueOnError: true
31
+  displayName: 'Authors check'
32
+
33
+- script: ./check_whitespace
34
+  continueOnError: true
35
+  displayName: 'Whitespace check'