Closed dkastl closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
@dkastl Aren't there any modifications to .github/workflows/test.yml?
No, it should not be necessary. The CI
environment variable should be already set, see https://github.com/pdfme/pdfme/blob/main/.github/workflows/test.yml#L23
Thank you @dkastl !!
very nice @dkastl 👏
This pull request introduces different error handling of performance related tests for CI and non-CI.
When environment variable
CI
is set totrue
(i.e. in GH Actionstest
workflow), the test fails with an error in case the execution time constraints are violated. In other cases a constraint violation triggers a warning.The
PERFORMANCE_THRESHOLD
(in seconds) can be also set as environment variable.Reference discussion: https://github.com/pdfme/pdfme/discussions/387#discussioncomment-7940652