VSCode运行Python程序提示:ModuleNotFoundError,VSCode未找到导入的自定义的模块,只能手动向sys.path中把项目路径添加,但十分麻烦;Pycharm运行时会自动把项目经路添加至sys.path,开发者无需这般麻烦操作 #19061
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
name: Test Plan Item Validator | |
on: | |
issues: | |
types: [edited, labeled] | |
permissions: | |
issues: write | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
if: contains(github.event.issue.labels.*.name, 'testplan-item') || contains(github.event.issue.labels.*.name, 'invalid-testplan-item') | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@v4 | |
with: | |
repository: 'microsoft/vscode-github-triage-actions' | |
path: ./actions | |
ref: stable | |
- name: Install Actions | |
run: npm install --production --prefix ./actions | |
- name: Run Test Plan Item Validator | |
uses: ./actions/test-plan-item-validator | |
with: | |
label: testplan-item | |
invalidLabel: invalid-testplan-item | |
comment: Invalid test plan item. See errors below and the [test plan item spec](https://github.com/microsoft/vscode/wiki/Writing-Test-Plan-Items) for more information. This comment will go away when the issues are resolved. |