(PC-33825)[API] ci: deploy preview env only if api is changed #9545
dev_on_pull_request_workflow.yml
on: pull_request
Init job
40s
Tests pro
/
...
/
Style quality check
1m 20s
Tests pro
/
Unit tests
7m 56s
[pcapi-tests] build docker image.
/
Build pcapi-tests:66aafafb32d470e019f13eb7aca11604f71961b3
4m 2s
[pcapi] build docker image.
/
Build pcapi:66aafafb32d470e019f13eb7aca11604f71961b3
2m 26s
[pcapi-console] build docker image.
/
Build pcapi-console:66aafafb32d470e019f13eb7aca11604f71961b3
3m 35s
MyPy cop
/
MyPy cop test
33s
Tests API documentation
/
Check API documentation can be built
[PRO] Deploy PR version for validation pr preview backend
/
deploy_on_firebase
1m 26s
[PRO] Deploy PR version for validation with testing backend
/
deploy_on_firebase
Dependabot
/
dependabot
Matrix: Tests api / Pytest
Tests api
/
Quality checks
2m 35s
Tests api
/
Pylint
4m 3s
Tests api
/
Test database schema
2m 50s
Update api client template
/
Update API Client template
4m 57s
Push pcapi docker image to registry
/
Push pcapi
1m 1s
Push pcapi-console docker image to registry
/
Push pcapi-console
2m 0s
Merge Allure Reports and Push to Allure Repository
24s
Deploy PullRequest to testing environment
/
Deploy pullrequest
23m 51s
Annotations
1 error, 12 warnings, and 3 notices
Deploy PullRequest to testing environment / Deploy pullrequest
Process completed with exit code 20.
|
Tests pro / Unit tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/app/App/hook/useLogNavigation.ts#L32
React Hook useEffect has missing dependencies: 'params' and 'previousPage'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/commons/hooks/useRedirectLoggedUser.ts#L54
React Hook useEffect has missing dependencies: 'dispatch', 'navigate', and 'redirectToUrl'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Address/Address.tsx#L85
React Hook useEffect has missing dependencies: 'addressesMap', 'searchField', and 'setFieldValue'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Bookings/Bookings.tsx#L199
React Hook useEffect has missing dependencies: 'initialAppliedFilters.bookingBeginningDate', 'initialAppliedFilters.bookingEndingDate', 'initialAppliedFilters.bookingStatusFilter', and 'initialAppliedFilters.offerEventDate'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Bookings/BookingsRecapTable/BookingsRecapTable.tsx#L81
React Hook useEffect has a missing dependency: 'applyFilters'. Either include it or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Bookings/PreFilters/PreFilters.tsx#L172
React Hook useCallback has an unnecessary dependency: 'audience'. Either exclude it or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/ImageUploader/components/ButtonImageEdit/ModalImageEdit/ModalImageEdit.tsx#L69
React Hook useEffect has missing dependencies: 'initialImageUrl', 'initialOriginalImageUrl', and 'notification'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/IndividualOffer/StocksThing/StocksThing.tsx#L88
React Hook useEffect has missing dependencies: 'formik', 'offer', and 'useOffererAddressAsDataSourceEnabled'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/IndividualOffer/hooks/useNotifyFormError.ts#L21
React Hook useEffect has missing dependencies: 'errors' and 'notify'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/IndividualOffer/hooks/useNotifyFormError.ts#L21
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
|
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:66aafafb32d470e019f13eb7aca11604f71961b3
|
Update api client template / Update API Client template
Running update api client template with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:66aafafb32d470e019f13eb7aca11604f71961b3
|
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:66aafafb32d470e019f13eb7aca11604f71961b3
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-report
|
6.41 MB |
|
allure-results-pro-unit
|
1.57 MB |
|
pass-culture~pass-culture-main~8J0U4Z.dockerbuild
|
159 KB |
|
pass-culture~pass-culture-main~HZNYZR.dockerbuild
|
94.6 KB |
|
pass-culture~pass-culture-main~LT9C9R.dockerbuild
|
83.1 KB |
|
pcapi-66aafafb32d470e019f13eb7aca11604f71961b3.tar
Expired
|
302 MB |
|
pcapi-console-66aafafb32d470e019f13eb7aca11604f71961b3.tar
Expired
|
486 MB |
|
pcapi-tests-66aafafb32d470e019f13eb7aca11604f71961b3.tar
Expired
|
532 MB |
|