workflow which ensures that talawa Api app starts in docker #4918
pull-request.yml
on: pull_request
Check for linting, formatting, and type errors
1m 17s
Check for eslint-disable
8s
Check for code coverage disable
7s
Checks if sensitive files have been changed without authorization
0s
Checks if number of files changed is acceptable
3s
Base branch check
0s
Matrix: Testing Application
Matrix: Test Development and Production Builds
Annotations
4 errors and 6 warnings
tests/utilities/loadSampleData.spec.ts > Sample Data Import Tests > should import sample data and verify document counts:
tests/utilities/loadSampleData.spec.ts#L44
AssertionError: expected 1 to be 15 // Object.is equality
- Expected
+ Received
- 15
+ 1
❯ tests/utilities/loadSampleData.spec.ts:44:23
|
tests/resolvers/Mutation/updateAdvertisement.spec.ts > resolvers -> Mutation -> updateAdvertisement > updates the advertisement with _id === args.id and returns it:
src/resolvers/Mutation/updateAdvertisement.ts#L145
Error: Translated Error: Start date must be greater than or equal to current date.
❯ Module.updateAdvertisement src/resolvers/Mutation/updateAdvertisement.ts:145:13
❯ tests/resolvers/Mutation/updateAdvertisement.spec.ts:207:40
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { message: 'Translated Error: Start date must be greater than or equal to current date.', code: 'startdate.notvalid', param: 'dateValidation', metadata: {} } ], httpCode: 422 }
|
tests/resolvers/Mutation/updateAdvertisement.spec.ts > resolvers -> Mutation -> updateAdvertisement > updates the advertisement with _id === args.id and returns it as an org admin:
src/resolvers/Mutation/updateAdvertisement.ts#L145
Error: Translated Error: Start date must be greater than or equal to current date.
❯ Module.updateAdvertisement src/resolvers/Mutation/updateAdvertisement.ts:145:13
❯ tests/resolvers/Mutation/updateAdvertisement.spec.ts:273:40
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { message: 'Translated Error: Start date must be greater than or equal to current date.', code: 'startdate.notvalid', param: 'dateValidation', metadata: {} } ], httpCode: 422 }
|
Testing Application (22.x)
Process completed with exit code 1.
|
Base branch check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Checks if number of files changed is acceptable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check for eslint-disable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check for code coverage disable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check for linting, formatting, and type errors
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Testing Application (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|