mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
[update_lib] show dependent tests in deps subcommand (#6828)
--------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Jeong YunWon <jeong@youknowone.org>
This commit is contained in:
6 files changed
+565
-136
No files matched your search
@@ -173,6 +173,12 @@ jobs:
|
||||
cargo run --manifest-path example_projects/frozen_stdlib/Cargo.toml
|
||||
if: runner.os == 'Linux'
|
||||
|
||||
- name: run update_lib tests
|
||||
run: cargo run -- -m unittest discover -s scripts/update_lib/tests -v
|
||||
env:
|
||||
PYTHONPATH: scripts
|
||||
if: runner.os == 'Linux'
|
||||
|
||||
- name: prepare Intel MacOS build
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
@@ -463,11 +469,6 @@ jobs:
|
||||
|
||||
- run: ruff format --check
|
||||
|
||||
- name: run update_lib tests
|
||||
run: cargo run -- -m unittest discover -s scripts/update_lib/tests -v
|
||||
env:
|
||||
PYTHONPATH: scripts
|
||||
|
||||
- name: install prettier
|
||||
run: yarn global add prettier && echo "$(yarn global bin)" >>$GITHUB_PATH
|
||||
|
||||
|
||||
@@ -99,19 +99,11 @@ jobs:
|
||||
|
||||
The following Lib/ modules were modified. Here are their dependencies:
|
||||
|
||||
<details>
|
||||
<summary>Click to expand dependency information</summary>
|
||||
|
||||
```
|
||||
${{ steps.deps-check.outputs.deps_output }}
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
**Legend:**
|
||||
- `[+]` path exists in CPython
|
||||
- `[x]` up-to-date, `[ ]` outdated
|
||||
- `native:` Rust/C extension modules
|
||||
|
||||
- name: Remove comment if no Lib changes
|
||||
if: steps.changed-files.outputs.modules == ''
|
||||
|
||||
Reference in new issue
Block a user