remove reviewdog

This commit is contained in:
h1dden-da3m0n 2021-10-11 23:17:56 +02:00
parent 80f57983f1
commit 74ce3d88db

View file

@ -11,9 +11,6 @@ on:
env: env:
PR_TRIGGERED: ${{ github.event_name == 'pull_request' && github.repository == 'jellyfin/jellyfin-kodi' }} PR_TRIGGERED: ${{ github.event_name == 'pull_request' && github.repository == 'jellyfin/jellyfin-kodi' }}
permissions:
checks: write
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -30,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
@ -55,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.GITHUB_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' }}