Skip to content

Fix projects page

Fix projects page #626

Triggered via pull request May 18, 2024 14:50
Status Failure
Total duration 1m 50s
Artifacts 1

lint.yml

on: pull_request
Run linters
17s
Run linters
Backend Unit Testing
25s
Backend Unit Testing
Frontend Unit Testing
34s
Frontend Unit Testing
Pyright
13s
Pyright
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 14 warnings
tests/views/ProjectsView.spec.ts > ProjectsView > render projects view: frontend/src/views/ProjectsView.vue#L32
TypeError: projects.value.as_student is not iterable ❯ src/views/ProjectsView.vue:32:48 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:993:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1005:109 ❯ src/views/ProjectsView.vue:34:52 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:993:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:181:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1005:109 ❯ unref node_modules/@vue/reactivity/dist/reactivity.cjs.js:1127:29 ❯ Object.get node_modules/@vue/reactivity/dist/reactivity.cjs.js:1133:35
Frontend Unit Testing
Process completed with exit code 1.
Backend Unit Testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run linters: frontend/src/queries/User.ts#L88
'_' is defined but never used
Run linters: frontend/src/queries/User.ts#L88
'__' is defined but never used
Run linters: frontend/src/queries/User.ts#L88
'uid' is defined but never used
Run linters: frontend/src/queries/User.ts#L88
'ctx' is defined but never used
Run linters: frontend/src/queries/User.ts#L149
'_' is defined but never used
Run linters: frontend/src/queries/User.ts#L149
'__' is defined but never used
Run linters: frontend/src/queries/User.ts#L149
'uid' is defined but never used
Run linters: frontend/src/queries/User.ts#L149
'ctx' is defined but never used
Pyright
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Frontend Unit Testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Frontend Unit Testing
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "pytest-coverage-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
pytest-coverage-report Expired
49.2 KB