mirror of
https://github.com/microsoft/pyright.git
synced 2024-08-16 03:10:35 +03:00
Update ci-integration.md (#5259)
When both scripts are executed in `scripts:` section, and `pyright` reports error, second script is not executed. Best way to ensure report are always converted, is to use `after_script:` block.
This commit is contained in:
parent
dc9413ce71
commit
0d0e716f92
@ -33,6 +33,7 @@ job_name:
|
||||
- npm i -g pyright-to-gitlab-ci
|
||||
script:
|
||||
- pyright <python source> --outputjson > report_raw.json
|
||||
after_script:
|
||||
- pyright-to-gitlab-ci --src report_raw.json --output report.json --base_path .
|
||||
artifacts:
|
||||
paths:
|
||||
|
Loading…
Reference in New Issue
Block a user