You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/21 09:44:45 UTC
[incubator-ponymail-unit-tests] branch master updated: Test against
0.11
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-unit-tests.git
The following commit(s) were added to refs/heads/master by this push:
new dc1855e Test against 0.11
dc1855e is described below
commit dc1855ed2472f015190de091e91398eba8d06a39
Author: Sebb <se...@apache.org>
AuthorDate: Fri Aug 21 10:44:26 2020 +0100
Test against 0.11
---
.github/workflows/unittest.yml | 34 ++++++++++++++++++++++++++++++++++
requirements.txt | 10 ++++++++--
2 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml
new file mode 100644
index 0000000..b640bb5
--- /dev/null
+++ b/.github/workflows/unittest.yml
@@ -0,0 +1,34 @@
+name: Test corpus against versions
+# start wit 0.11 only
+
+#on: [push,workflow_dispatch]
+on: workflow_dispatch
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+ strategy:
+ max-parallel: 4
+ matrix:
+# python-version: [2.7, 3.5, 3.6, 3.7]
+ python-version: [3.7]
+
+ steps:
+ - uses: actions/checkout@master
+ - uses: actions/checkout@master
+ with:
+ repository: apache/incubator-ponymail
+ path: ponymail-0.11
+ ref: refs/tags/0.11
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v1
+ with:
+ version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install -r requirements.txt
+ - name: Test with Ponymail Unit tests
+ run: |
+ python runall.py --root ponymail-0.11
diff --git a/requirements.txt b/requirements.txt
index 2096f79..cd8d391 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,8 @@
-PyYAML~=5.1.2
-html2text~=2020.1.16
\ No newline at end of file
+PyYAML~=5.3.1
+elasticsearch-dsl>=7.0.0,<8.0.0
+elasticsearch~=7.8.1
+certifi~=2020.6.20
+chardet~=3.0.4
+netaddr~=0.8.0
+formatflowed~=2.0.0
+html2text~=2019.8.11