aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-03-22 16:33:32 -0700
committerMicah Lee <micah@micahflee.com>2020-03-22 16:33:32 -0700
commit34e59ad7d77b6bb01c4dcd0fa9cc313d8863bab4 (patch)
tree8f528c9b51c4f2a31de82ed752267493ca5a5eb5 /.circleci
parentea4fbdd834165d9fde138de603130789448f657e (diff)
downloadonionshare-34e59ad7d77b6bb01c4dcd0fa9cc313d8863bab4.tar.gz
onionshare-34e59ad7d77b6bb01c4dcd0fa9cc313d8863bab4.zip
Update comments and section names in CircleCI
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2b1e3c8f..509bbfb4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,7 +1,8 @@
-# Python CircleCI 2.0 configuration file
-#
-# Check https://circleci.com/docs/2.0/language-python/ for more details
-#
+# To run the tests, CircleCI needs these environment variables:
+# QT_EMAIL - email address for a Qt account
+# QT_PASSWORD - password for a Qt account
+# (Unfortunately you can't install Qt without logging in.)
+
version: 2
workflows:
version: 2
@@ -39,7 +40,7 @@ jobs:
poetry install
- run:
- name: run flake tests
+ name: Run flake tests
command: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
@@ -47,7 +48,7 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- run:
- name: run tests
+ name: Run unit tests
command: |
xvfb-run -s "-screen 0 1280x1024x24" poetry run pytest --rungui -vvv --no-qt-log tests/