diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..878c4be --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,26 @@ +name: Make Tests + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [2.7, 3.7] + + steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + - sudo apt-get update -qq + - sudo apt-get install -y -qq postfix + - pip install -U -q pip + - pip install -r requirements.txt + - name: Make tests + run: make tests