changeset 6914:6010c20dc104

add mock package for testing
author John Rouillard <rouilj@ieee.org>
date Sun, 04 Sep 2022 08:42:16 -0400
parents b0dbc13a835a
children 9ff091537f43
files .github/workflows/ci-test.yml
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml	Sun Sep 04 00:43:29 2022 -0400
+++ b/.github/workflows/ci-test.yml	Sun Sep 04 08:42:16 2022 -0400
@@ -15,6 +15,10 @@
         # monthly build/check
         - cron: '23 17 1 * *'
 
+# GITHUB_TOKEN only has read repo context.
+permissions:
+  contents: read
+
 jobs:
   test:
     name: CI build test
@@ -158,7 +162,7 @@
           case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
 
       - name: Install pytest and other packages needed for running tests
-        run: pip install codecov flake8 pytest pytest-cov requests
+        run: pip install codecov flake8 mock pytest pytest-cov requests
 
       - name: Test build roundup and install locale so lang tests work.
         run: |

Roundup Issue Tracker: http://roundup-tracker.org/