Skip to content

debug gha

debug gha #10

Triggered via push January 23, 2025 14:34
Status Failure
Total duration 5m 19s
Artifacts

run-tests.yml

on: push
prepare
9s
prepare
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 42 warnings
test (api, 97b819962)
The process '/opt/hostedtoolcache/node/20.17.0/x64/bin/npm' failed with exit code 1
test (api, 97b819962)
🚨 Coverage run failed!
prepare
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (lib, 97b819962): packages/lib/src/common.ts#L153
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/common.ts#L158
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/common.ts#L159
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/common.ts#L163
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/common.ts#L163
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/dto/classeDto.ts#L8
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/dto/classeDto.ts#L10
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/dto/classeDto.ts#L31
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/dto/classeDto.ts#L33
Unexpected any. Specify a different type
test (lib, 97b819962): packages/lib/src/dto/classeDto.ts#L36
Unexpected any. Specify a different type
test (app, 97b819962): app/src/app.jsx#L69
React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array
test (app, 97b819962): app/src/assets/icons/ArrowRightBlueSquare.jsx#L4
'props' is defined but never used
test (app, 97b819962): app/src/components/Content.jsx#L35
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
test (app, 97b819962): app/src/components/Content.jsx#L64
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
test (app, 97b819962): app/src/components/Content.jsx#L181
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
test (app, 97b819962): app/src/components/Content.jsx#L230
Replace `·0·10px·15px·-3px·rgba(0,·0,·0,·0.1),` with `⏎····0·10px·15px·-3px·rgba(0,·0,·0,·0.1),⏎···`
test (app, 97b819962): app/src/components/Content.jsx#L250
Replace `·rgba(0,·0,·0,·0.1)·0px·10px·15px·-3px,` with `⏎····rgba(0,·0,·0,·0.1)·0px·10px·15px·-3px,⏎···`
test (app, 97b819962): app/src/components/FileUpload.jsx#L106
React Hook useCallback has an unnecessary dependency: 'files'. Either exclude it or remove the dependency array
test (app, 97b819962): app/src/components/dndFileInput.jsx#L75
React Hook useEffect has missing dependencies: 'filesList', 'handleChange', and 'name'. Either include them or remove the dependency array
test (app, 97b819962): app/src/components/dndFileInput.jsx#L99
React Hook useEffect has a missing dependency: 'setNewFilesList'. Either include it or remove the dependency array. If 'setNewFilesList' changes too often, find the parent component that defines it and wrap that definition in useCallback
test (admin, 97b819962): admin/src/app.jsx#L71
Unexpected use of file extension "service" for "./services/cohort.service"
test (admin, 97b819962): admin/src/app.jsx#L164
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
test (admin, 97b819962): admin/src/app.jsx#L207
React Hook useEffect has missing dependencies: 'cohorts' and 'dispatch'. Either include them or remove the dependency array
test (admin, 97b819962): admin/src/assets/ArrowUp.jsx#L3
'props' is defined but never used
test (admin, 97b819962): admin/src/assets/icons/EmptyFileIcon.jsx#L3
'props' is defined but never used
test (admin, 97b819962): admin/src/components/FileUpload.jsx#L104
React Hook useCallback has an unnecessary dependency: 'files'. Either exclude it or remove the dependency array
test (admin, 97b819962): admin/src/components/IconDomain.jsx#L50
React Hook React.useEffect has a missing dependency: 'iconStyle'. Either include it or remove the dependency array. If 'setIcon' needs the current value of 'iconStyle', you can also switch to useReducer instead of useState and read 'iconStyle' in the reducer
test (admin, 97b819962): admin/src/components/IconDomainRounded.jsx#L50
React Hook React.useEffect has a missing dependency: 'iconStyle'. Either include it or remove the dependency array. If 'setIcon' needs the current value of 'iconStyle', you can also switch to useReducer instead of useState and read 'iconStyle' in the reducer
test (admin, 97b819962): admin/src/components/Panel.jsx#L23
React Hook "React.useState" is called conditionally. React Hooks must be called in the exact same order in every component render
test (admin, 97b819962): admin/src/components/Panel.jsx#L25
React Hook "React.useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
test (apiv2, 97b819962)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L8
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L10
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L26
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L29
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L31
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L33
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/__mocks__/passport.ts#L36
Do not use "@ts-ignore" because it alters compilation errors
test (api, 97b819962): api/src/__tests__/cle/appelAProjet.test.ts#L21
Do not use "@ts-ignore" because it alters compilation errors