mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Merge pull request #579 from h1dden-da3m0n/fix/wrong-test-ci-branch
ci: fix incorrect test branch checkout
This commit is contained in:
commit
e56826b588
1 changed files with 1 additions and 14 deletions
15
.github/workflows/test.yaml
vendored
15
.github/workflows/test.yaml
vendored
|
@ -4,7 +4,7 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request_target:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
@ -27,12 +27,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.py_version }}
|
python-version: ${{ matrix.py_version }}
|
||||||
|
|
||||||
- name: Setup reviewdog
|
|
||||||
uses: reviewdog/action-setup@v1
|
|
||||||
if: ${{ env.PR_TRIGGERED == 'true' && matrix.py_version == '3.9' }}
|
|
||||||
with:
|
|
||||||
reviewdog_version: nightly
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
|
@ -52,13 +46,6 @@ jobs:
|
||||||
coverage xml
|
coverage xml
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
- name: Run reviewdog for PR checks-api
|
|
||||||
if: ${{ env.PR_TRIGGERED == 'true' && matrix.py_version == '3.9' }}
|
|
||||||
env:
|
|
||||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
|
|
||||||
run: |
|
|
||||||
cat flake8.output | reviewdog -reporter=github-pr-check -f=flake8 -name="flake8"
|
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
uses: codecov/codecov-action@v2.1.0
|
uses: codecov/codecov-action@v2.1.0
|
||||||
if: ${{ matrix.py_version == '3.9' }}
|
if: ${{ matrix.py_version == '3.9' }}
|
||||||
|
|
Loading…
Reference in a new issue