Skip to content

Commit

Permalink
ci: ignore pylint and pyflakes checks
Browse files Browse the repository at this point in the history
This can happen when there are too many files to be tested, due to a bug

Signed-off-by: Pau Ruiz Safont <pau.ruizsafont@cloud.com>
  • Loading branch information
psafont authored and Vincent-lau committed Apr 19, 2024
1 parent 9747dbf commit 67ff66f
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
level: warning
# To be customized to cover remaining Python scripts:
glob_pattern: "**/*.py"
continue-on-error: true

- name: Run pytype checks
if: ${{ matrix.python-version != '2.7' }}
Expand All @@ -107,16 +108,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYTYPE_REPORTER_DEBUG: True

# Try to add pytype_report.py's summary file as a comment to the PR:
# Documentation: https://github.com/marketplace/actions/add-pr-comment
- name: Add the pytype summary as a comment to the PR (if permitted)
uses: mshick/add-pr-comment@v2
# Depends on pytype checks, which are not run for python 2.7:
if: ${{ matrix.python-version != '2.7' }}
# Fails for user workflows without permissions(fork-based pull requests):
continue-on-error: true
- name: pyflakes
uses: reviewdog/action-pyflakes@v1
with:
message-path: .git/pytype-summary.md # Add the content of it as comment
github_token: ${{ secrets.github_token }}
continue-on-error: true


ocaml-tests:
name: Run OCaml tests
Expand Down Expand Up @@ -173,13 +170,6 @@ jobs:
- name: quality-gate
run: make quality-gate

- name: pyflakes
uses: reviewdog/action-pyflakes@master
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: error

test-sdk-builds:
name: Test SDK builds
uses: ./.github/workflows/generate-and-build-sdks.yml
Expand Down

0 comments on commit 67ff66f

Please sign in to comment.