aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-22 21:32:41 -0800
committerGravatar MarkKoz <[email protected]>2020-02-22 21:53:55 -0800
commit692c75a470682a97947bcd060b153ed757626805 (patch)
tree9edefbf13652fc224389d49ba0918a7c8d5db3b3
parentCI: don't run commands through pipenv (diff)
CI: output flake8 to stdout (resolve #37)
The Azure website has proven to not be reliable for displaying the JUnit output. Furthermore, some may simply prefer the format of the output in the terminal over the JUnit representation on the Azure site. Nevertheless, the JUnit output isn't that bad (when there's actually a lint error) so it will remain for now. It also provides historical statistics on occurrences of errors, which is kind of cool, I guess...
-rw-r--r--ci/lint-test.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/lint-test.yml b/ci/lint-test.yml
index 6350fde..2d70f6e 100644
--- a/ci/lint-test.yml
+++ b/ci/lint-test.yml
@@ -1,7 +1,7 @@
steps:
- script: |
docker exec snekbox_test /bin/bash -c \
- 'flake8 --format junit-xml --output-file test-lint.xml'
+ 'flake8; flake8 --format junit-xml --output-file test-lint.xml'
displayName: 'Run Linter'
- task: PublishTestResults@2