-
Notifications
You must be signed in to change notification settings - Fork 19
Use analyze-project from ni/python-actions #1252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 14 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2a2c338
Use analyze-project from ni/python-actions
dixonjoel 2957f08
Add check docs. Add matrix checking for analyze-project
dixonjoel 2bd22d9
Minor cleanup
dixonjoel 4e688f8
Only check for out-of-date stubs with oldest Python version
dixonjoel e71dd1f
Fix traceloggingdynamic configuration
dixonjoel 015ab46
Fix _config typing
dixonjoel 3ad6ad3
Fix _config typing
dixonjoel dce58f1
Fix lint error
dixonjoel 23516cf
Fix lint error
dixonjoel 93cc67c
PR feedback from Brad
dixonjoel 1b9bd07
Remove unused comment. Re-lock service package
dixonjoel 231135a
Fix check NIMS
dixonjoel 05b0292
Fix _config import error
dixonjoel 4eb2583
Fix nps errors
dixonjoel 305302e
Add all other exports to __all__
dixonjoel 25a91f6
Check docs at publish time.
dixonjoel fae207c
Remove __all__ from _configuration.py
dixonjoel e18c572
Remove fail-fast: false
dixonjoel 5b961d3
Remove unneeded docstring
dixonjoel 8a3b21e
Remove unneeded docstring
dixonjoel 2281605
Remove traceloggingdynamic and _tracelogging.py
dixonjoel 875a557
Add 'checks_succeeded' job to summarize matrix from check NIMS and ch…
dixonjoel 0559607
Add 'unit_tests_succeeded' job to summarize matrix unit test results
dixonjoel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Check NIMS Docs | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check_nims: | ||
name: Check NIMS Docs | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
# Set the working-directory for all steps in this job. | ||
working-directory: ./packages/service | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
with: | ||
submodules: true | ||
- name: Set up Python | ||
uses: ni/python-actions/setup-python@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 | ||
id: setup-python | ||
- name: Set up Poetry | ||
uses: ni/python-actions/setup-poetry@9768589f3e50672173dad75a6fc181e4a85d33fa # v0.7.0 | ||
- name: Install ni-measurement-plugin-sdk-service (all extras, docs) | ||
run: poetry install -v --all-extras --with docs | ||
- name: Build docs and check for errors/warnings | ||
run: | | ||
rm -rf docs | ||
mkdir -p docs | ||
poetry run sphinx-build _docs_source docs -b html -W | ||
- name: Revert docs | ||
run: rm -rf docs |
bkeryan marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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
bkeryan marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.