Skip to content

AI tests

AI tests #178

Triggered via pull request December 29, 2023 09:20
@panwauupanwauu
synchronize #131
devel_oskar
Status Failure
Total duration 1m 0s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
build: server/src/bot/bots/Futuro.ts#L56
Expected { after 'if' condition
build: server/src/bot/bots/Futuro.ts#L108
Expected '!==' and instead saw '!='
build: server/src/bot/bots/Futuro.ts#L129
Expected { after 'if' condition
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
build: server/src/bot/bots/Futuro.ts#L33
Refactor this function to reduce its Cognitive Complexity from 47 to the 20 allowed
build: server/src/bot/simulation/simulation.ts#L51
Refactor this function to reduce its Cognitive Complexity from 47 to the 20 allowed
build: server/src/game/game.ts#L41
Refactor this function to reduce its Cognitive Complexity from 26 to the 20 allowed
build: server/src/game/game.ts#L138
Refactor this function to reduce its Cognitive Complexity from 35 to the 20 allowed
build: server/src/game/game.ts#L298
Refactor this function to reduce its Cognitive Complexity from 25 to the 20 allowed
build: server/src/game/generateMovesUtils.ts#L7
Refactor this function to reduce its Cognitive Complexity from 32 to the 20 allowed
build: server/src/game/generateMovesUtils.ts#L205
Refactor this function to reduce its Cognitive Complexity from 22 to the 20 allowed
build: server/src/game/generateMovesUtils.ts#L297
Refactor this function to reduce its Cognitive Complexity from 45 to the 20 allowed
build: server/src/game/performMoveUtils.ts#L113
Refactor this function to reduce its Cognitive Complexity from 25 to the 20 allowed
build: server/src/game/statistic.ts#L44
Refactor this function to reduce its Cognitive Complexity from 30 to the 20 allowed