Skip to content

AI tests

AI tests #176

Triggered via pull request December 28, 2023 14:53
@panwauupanwauu
synchronize #131
devel_oskar
Status Success
Total duration 6m 10s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
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/simulation/simulation.ts#L113
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
build: server/src/test/captureCompare.ts#L16
Refactor this function to reduce its Cognitive Complexity from 27 to the 20 allowed