-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run SDK coverage test locally for GA (#2156)
- Loading branch information
Showing
3 changed files
with
25 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
name: Check Python SDK method coverage | ||
|
||
on: | ||
workflow_run: | ||
workflows: [pr-deploy-and-comment] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
pull_request: | ||
|
||
jobs: | ||
python-methods: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
|
||
steps: | ||
- name: Checkout Push/Workflow Dispatch | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true # Fetch Hugo themes | ||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | ||
- name: Set up Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: "latest" | ||
extended: true | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.9" | ||
cache: "pip" # caching pip dependencies | ||
- run: pip install beautifulsoup4 markdownify argparse | ||
- name: "Check Python SDK method coverage" | ||
run: python3 .github/workflows/check_python_methods.py --pr ${{ github.event.number }} | ||
|
||
- name: Build | ||
run: make coveragetest |
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