test gh actions

This commit is contained in:
Bastian Schroll 2019-09-20 10:02:09 +02:00 committed by GitHub
parent 9aa3bbf067
commit 7e124b0811
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
.github/workflows/run_pytest.yml vendored Normal file
View file

@ -0,0 +1,32 @@
on:
- push
- pull_request
name: Run pytest
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@master
- name: Set up Python $
uses: actions/setup-python@master
with:
version: $
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest