Skip to content

(PC-34429)[API] ci: use pytest-split to parallelize tests in GHA #11246

(PC-34429)[API] ci: use pytest-split to parallelize tests in GHA

(PC-34429)[API] ci: use pytest-split to parallelize tests in GHA #11246

Triggered via pull request February 7, 2025 16:51
Status Failure
Total duration 14m 41s
Artifacts 3
Pro Units Tests  /  Code/Type/Style Quality check
Pro Units Tests / Code/Type/Style Quality check
[pcapi-tests] build docker image.  /  Build Docker image
3m 42s
[pcapi-tests] build docker image. / Build Docker image
[pcapi] build docker image.  /  Build Docker image
2m 26s
[pcapi] build docker image. / Build Docker image
Matrix: Pro Units Tests / Pro Unit tests
Waiting for pending jobs
[pcapi-console] build docker image.  /  Build Docker image
3m 34s
[pcapi-console] build docker image. / Build Docker image
MyPy cop  /  MyPy cop test
38s
MyPy cop / MyPy cop test
Tests API documentation  /  Check API documentation can be built
Tests API documentation / Check API documentation can be built
Matrix: Tests api / pytest
Tests api  /  Quality checks
2m 43s
Tests api / Quality checks
Tests api  /  Pylint
3m 48s
Tests api / Pylint
Tests api  /  Test database schema
2m 52s
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
11m 5s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
2m 28s
Update api client template / Update API Client template
Pro Units Tests  /  merge-allure-reports
Pro Units Tests / merge-allure-reports
Pro Units Tests  /  merge-reports
Pro Units Tests / merge-reports
Push pcapi docker image to registry  /  Push Docker image
Push pcapi docker image to registry / Push Docker image
Push pcapi-console docker image to registry  /  Push Docker image
Push pcapi-console docker image to registry / Push Docker image
[PRO] Deploy PR version for validation pr preview backend  /  deploy_on_firebase
[PRO] Deploy PR version for validation pr preview backend / deploy_on_firebase
[PRO] Deploy PR version for validation with testing backend  /  deploy_on_firebase
[PRO] Deploy PR version for validation with testing backend / deploy_on_firebase
Dependabot  /  dependabot
Dependabot / dependabot
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 notices
tests/core/finance/test_commands_legacy.py.test_when_there_is_a_debit_note_to_generate_on_partial_incident: tests/core/finance/test_commands_legacy.py#L146
AssertionError: assert False + where False = <built-in method startswith of str object at 0x7f26d5f677b0>('A') + where <built-in method startswith of str object at 0x7f26d5f677b0> = 'F250000004'.startswith + where 'F250000004' = <Invoice #83>.reference
Tests api / Pytest (without BO) : 1/4
❌ Tests reported 1 failures
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:ff8cd9cfe4ca7040a7b95c258e425780c8a5d095
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:ff8cd9cfe4ca7040a7b95c258e425780c8a5d095
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:ff8cd9cfe4ca7040a7b95c258e425780c8a5d095

Artifacts

Produced during runtime
Name Size
pcapi-console-ff8cd9cfe4ca7040a7b95c258e425780c8a5d095.tar
488 MB
pcapi-ff8cd9cfe4ca7040a7b95c258e425780c8a5d095.tar
305 MB
pcapi-tests-ff8cd9cfe4ca7040a7b95c258e425780c8a5d095.tar
536 MB