[incubator-ponymail] branch master updated: Update pythonpackage.yml

2019-08-14 Thread sebb
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.git


The following commit(s) were added to refs/heads/master by this push:
 new de35305  Update pythonpackage.yml
de35305 is described below

commit de35305c2261646fc8ca00db01f2663e227cf08d
Author: sebbASF 
AuthorDate: Wed Aug 14 11:18:39 2019 +0100

Update pythonpackage.yml
---
 .github/workflows/pythonpackage.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pythonpackage.yml 
b/.github/workflows/pythonpackage.yml
index 1d42043..d75e619 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -1,6 +1,6 @@
 name: Python package
 
-on: [push]
+on: [push,repository_dispatch]
 
 jobs:
   build:



[incubator-ponymail] branch master updated: Update pythonpackage.yml

2019-08-14 Thread sebb
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.git


The following commit(s) were added to refs/heads/master by this push:
 new 68bd381  Update pythonpackage.yml
68bd381 is described below

commit 68bd381cabc3844c5fc86117ced95fc4f7f75051
Author: sebbASF 
AuthorDate: Wed Aug 14 11:00:57 2019 +0100

Update pythonpackage.yml
---
 .github/workflows/pythonpackage.yml | 27 +++
 1 file changed, 27 insertions(+)

diff --git a/.github/workflows/pythonpackage.yml 
b/.github/workflows/pythonpackage.yml
new file mode 100644
index 000..1d42043
--- /dev/null
+++ b/.github/workflows/pythonpackage.yml
@@ -0,0 +1,27 @@
+name: Python package
+
+on: [push]
+
+jobs:
+  build:
+
+runs-on: ubuntu-latest
+strategy:
+  max-parallel: 4
+  matrix:
+python-version: [2.7, 3.5, 3.6, 3.7]
+
+steps:
+- uses: actions/checkout@master
+- 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 pytest
+  run: |
+pip install pytest
+pytest