This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 21be663  More dependencies needed
21be663 is described below

commit 21be6631549a95fc47436d84eed010111d0a6379
Author: Sebb <[email protected]>
AuthorDate: Wed Jan 26 23:51:25 2022 +0000

    More dependencies needed
---
 .github/workflows/unittest.yml | 2 +-
 test/requirements.txt          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml
index 1034ff3..04b7ffe 100644
--- a/.github/workflows/unittest.yml
+++ b/.github/workflows/unittest.yml
@@ -35,6 +35,7 @@ jobs:
       run: |
         python -m pip install --upgrade pip
         pip install -r tools/requirements.txt
+        pip install -r tests/requirements.txt
         pip install html2text # optional dependency, but needed for tests
     - name: Check versions
       run: |
@@ -42,7 +43,6 @@ jobs:
         server/update_version.sh
     - name: Test with pytest
       run: |
-        pip install pytest
         cp tools/archiver.yaml.example tools/archiver.yaml
         python -m pytest test/test_*.py
     - name: Test with Ponymail Unit tests
diff --git a/test/requirements.txt b/test/requirements.txt
index 232e412..1e44efe 100644
--- a/test/requirements.txt
+++ b/test/requirements.txt
@@ -1,3 +1,4 @@
 # These items are needed for running tests
 mypy
+pytest
 requests

Reply via email to