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:
Serhii Tereshchenko 2023-06-09 17:37:45 +03:00 committed by GitHub
parent dc9413ce71
commit 0d0e716f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: