Update run_pytest.yml

This commit is contained in:
Bastian Schroll 2019-09-22 14:17:24 +02:00 committed by GitHub
parent 7e124b0811
commit 3bb1ad75a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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