Skip to content

Commit 53490a2

Browse files
committed
add mock package for testing
1 parent 2a7e5e9 commit 53490a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
# monthly build/check
1616
- cron: '23 17 1 * *'
1717

18+
# GITHUB_TOKEN only has read repo context.
19+
permissions:
20+
contents: read
21+
1822
jobs:
1923
test:
2024
name: CI build test
@@ -158,7 +162,7 @@ jobs:
158162
case "$PYTHON_VERSION" in nightly) echo skipping xapian build;; *) make && sudo make install; esac
159163
160164
- name: Install pytest and other packages needed for running tests
161-
run: pip install codecov flake8 pytest pytest-cov requests
165+
run: pip install codecov flake8 mock pytest pytest-cov requests
162166

163167
- name: Test build roundup and install locale so lang tests work.
164168
run: |

0 commit comments

Comments
 (0)