blob: 77aafeded1117b943d36b3db8c2d9a9399ecd892 [file] [log] [blame]
name: Python package
#on: [push,repository_dispatch]
# Only manual trigger for now
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-unit-tests
path: pmtests
- 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
- name: Test with Ponymail Unit tests
run: |
cd pmtests
python runall.py --root ..