mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-26 13:40:22 +00:00
Only run claimed tests on merged branches, mark python version used
This commit is contained in:
parent
740ae8cc60
commit
57bd094a09
1 changed files with 3 additions and 4 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue