-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5575 from psafont/streamliner
ci: reduce noise generated for PRs
- Loading branch information
Showing
9 changed files
with
254 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ jobs: | |
- run: echo "::add-matcher::.github/workflows/python-warning-matcher.json" | ||
name: "Setup GitHub for reporting Python warnings as annotations in pull request code review" | ||
|
||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
name: Run pre-commit checks (no spaces at end of lines, etc) | ||
if: ${{ matrix.python-version != '2.7' }} | ||
with: | ||
|
@@ -51,7 +51,7 @@ jobs: | |
|
||
- name: Install dependencies only needed for python 3 | ||
if: ${{ matrix.python-version != '2.7' }} | ||
run: pip install pandas pytype toml wrapt | ||
run: pip install opentelemetry-api opentelemetry-exporter-zipkin-json opentelemetry-sdk pandas pytype toml wrapt | ||
|
||
- name: Install common dependencies for Python ${{matrix.python-version}} | ||
run: pip install future mock pytest-coverage pytest-mock | ||
|
@@ -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' }} | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.