8000 Make sure we fail even if we continue · kevincon/circuitpython@aae8bda · GitHub
[go: up one dir, main page]

Skip to content

Commit aae8bda

Browse files
committed
Make sure we fail even if we continue
1 parent dcbba98 commit aae8bda

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

azure-pipelines.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
- bash: |
4242
sphinx-build -E -W -b html . _build/html
4343
displayName: 'Building docs'
44-
continueOnError: ErrorAndContinue
45-
- bash: |
46-
sudo apt-get install gettext
47-
displayName: 'Install native deps'
44+
continueOnError: true
45+
# - bash: |
46+
# sudo apt-get install gettext
47+
# displayName: 'Install native deps'
4848
- bash: |
4949
make check-translate
5050
displayName: 'Checking translations'
51-
continueOnError: ErrorAndContinue
51+
continueOnError: true
5252
- bash: |
5353
make -C mpy-cross -j2
5454
displayName: 'Build mpy-cross'
@@ -62,22 +62,22 @@ jobs:
6262
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
6363
displayName: 'Test all'
6464
workingDirectory: 'tests'
65-
continueOnError: ErrorAndContinue
65+
continueOnError: true
6666
- bash: |
6767
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 -d thread
6868
displayName: 'Test threads'
6969
workingDirectory: 'tests'
70-
continueOnError: ErrorAndContinue
70+
continueOnError: true
7171
- bash: |
7272
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native
7373
displayName: 'Testing with native'
7474
workingDirectory: 'tests'
75-
continueOnError: ErrorAndContinue
75+
continueOnError: true
7676
- bash: |
7777
MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
7878
displayName: 'Testing with mpy'
7979
workingDirectory: 'tests'
80-
continueOnError: ErrorAndContinue
80+
continueOnError: true
8181
- bash: |
8282
for exp in *.exp;
8383
do testbase=$(basename $exp .exp)
@@ -88,7 +88,12 @@ jobs:
8888
workingDirectory: 'tests'
8989
condition: failed()
9090
failOnStderr: false
91-
continueOnError: ErrorAndContinue
91+
continueOnError: true
92+
- bash: |
93+
exit 1
94+
condition: eq(variables['Agent.JobStatus'], 'SucceededWithIssues')
95+
displayName: "Fail fully if issues occurred"
96+
9297
9398
- job: BuildARM
9499
pool:

0 commit comments

Comments
 (0)
0