mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +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:
|
||||
branches:
|
||||
- master
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
|
@ -27,12 +27,6 @@ jobs:
|
|||
with:
|
||||
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
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
@ -52,13 +46,6 @@ jobs:
|
|||
coverage xml
|
||||
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
|
||||
uses: codecov/codecov-action@v2.1.0
|
||||
if: ${{ matrix.py_version == '3.9' }}
|
||||
|
|
Loading…
Reference in a new issue