Fixing CI

This commit is contained in:
David Négrier 2021-11-24 16:59:22 +01:00
parent d8c10ce10a
commit d1122d75ec
2 changed files with 4 additions and 4 deletions

View File

@ -30,16 +30,16 @@ jobs:
run: docker-compose up -d
- name: "Wait for environment to build (and downloading testcafe image)"
run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -m 1 "Compiled successfully"
run: (docker-compose -f docker-compose.testcafe.yml pull &) && docker-compose logs -f --tail=0 front | grep -q "Compiled successfully"
- name: "temp debug: display logs"
run: docker-compose logs
- name: "Wait for back start"
run: docker-compose logs -f back | grep -m 1 "WorkAdventure HTTP API starting on port"
run: docker-compose logs -f back | grep -q "WorkAdventure HTTP API starting on port"
- name: "Wait for pusher start"
run: docker-compose logs -f pusher | grep -m 1 "WorkAdventure starting on port"
run: docker-compose logs -f pusher | grep -q "WorkAdventure starting on port"
- name: "Run tests"
run: docker-compose -f docker-compose.testcafe.yml up --exit-code-from testcafe

View File

@ -4,7 +4,7 @@ const logger = winston.createLogger({
transports: [
new winston.transports.Console({
format: winston.format.combine(
winston.format.colorize(),
//winston.format.colorize(),
winston.format.timestamp(),
winston.format.align(),
winston.format.printf((info) => `${info.timestamp} ${info.level}: ${info.message}`)