Redis Server for testing. The server will allow you to connect your favorite client library to the Redis Server and run parallel integration tests isolated from each other.
yarn install exited with 1:
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about
this command.
warning package.json: No license field
warning No license field
warning Pattern ["strip-ansi@^6.0.1"] is trying to unpack in the same
destination
"/Users/runner/Library/Caches/Yarn/v6/npm-strip-ansi-cjs-6.0.1-9e26c63d30f5[344](https://github.com/skyrim-multiplayer/skymp/actions/runs/10043948265/job/27757845088#step:3:354)3e9489495b2105d37b67a85d9-integrity/node_modules/strip-ansi-cjs"
as pattern ["strip-ansi-cjs@npm:strip-ansi@^6.0.1"]. This could result in
non-deterministic behavior, skipping.
warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same
destination
"/Users/runner/Library/Caches/Yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs"
as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result
in non-deterministic behavior, skipping.
warning Pattern ["strip-ansi@^6.0.0"] is trying to unpack in the same
destination
"/Users/runner/Library/Caches/Yarn/v6/npm-strip-ansi-cjs-6.0.1-9e26c63d30f53443e9489495b2105d37b67a85d9-integrity/node_modules/strip-ansi-cjs"
as pattern ["strip-ansi-cjs@npm:strip-ansi@^6.0.1"]. This could result in
non-deterministic behavior, skipping.
error
/Users/runner/work/skymp/skymp/misc/tests/dependencies/node_modules/redis-memory-server:
Command failed.
Exit code: 1
Command: node ./scripts/postinstall
Arguments:
Directory:
/Users/runner/work/skymp/skymp/misc/tests/dependencies/node_modules/redis-memory-server
Output:
redis-memory-server: checking Redis binaries cache...
Downloading Redis stable: 0 % (0mb / 3.3mb)
failed to download/install Redis binaries. The error: Error: Command
failed: make JEMALLOC_CONFIGURE_OPTS=--with-lg-vaddr=48
CC Makefile.dep
alloc.c:33:10: fatal error: 'string.h' file not found
#include <string.h>
^~~~~~~~~~
1 error generated.
make[3]: *** [alloc.o] Error 1
make[2]: *** [hiredis] Error 2
make[1]: [persist-settings] Error 2 (ignored)
CC adlist.o
adlist.c:32:10: fatal error: 'stdlib.h' file not found
#include <stdlib.h>
^~~~~~~~~~
1 error generated.
make[1]: *** [adlist.o] Error 1
make: *** [all] Error 2
Call Stack (most recent call first):
misc/tests/CMakeLists.txt:3 (yarn_execute_command)
Hi @mhassan1, and thank you for redis-memory-server!
I noticed that redis-memory-server doesn't work on MacOS GitHub Actions Runners.
I'd kindly appreciate if you share an insight on how to fix that if you know the way. Anyway, I'd leave the issue here to track the bug.
Logs:
https://github.com/skyrim-multiplayer/skymp/actions/runs/10027938957/job/27714236059