Only run claimed tests on merged branches, mark python version used

This commit is contained in:
Jason Lawrence 2020-11-17 20:28:06 -06:00
parent 740ae8cc60
commit 57bd094a09

View file

@ -37,12 +37,11 @@ jobs:
flake8 plexapi --count --max-complexity=12 --max-line-length=127 --statistics
pytest-unclaimed:
name: pytest (unclaimed)
name: pytest ${{ matrix.pytest-version }} (unclaimed)
needs: lint-flake8
runs-on: ubuntu-latest
strategy:
matrix:
# python-version: [3.5, 3.6, 3.7, 3.8]
python-version: [3.6]
steps:
@ -93,12 +92,12 @@ jobs:
pytest-claimed:
name: pytest (claimed)
name: pytest ${{ matrix.python-version }} (claimed)
needs: pytest-unclaimed
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
strategy:
matrix:
# python-version: [3.5, 3.6, 3.7, 3.8]
python-version: [3.6]
steps: