Closed TimOleSanmann closed 3 months ago
I already found a solution myself: in the src/parse-inputs.js cypress-splits requires some env variables from Gitlab. Those has to be put into the. "environment" clause in the compose file. Then it works.
environment:
- CI_NODE_INDEX=${CI_NODE_INDEX}
- CI_NODE_TOTAL=${CI_NODE_TOTAL}
Hello,
in my Gitlab CI I start a testing environment via docker compose and I start Cypress through an entrypoint in a compose file. So far, Gitlab correctly splits to 4 parallel jobs but when Cypress starts I've got the error "Error: Do not know how to determine the correct split" Can this be a problem of used environment variables or something simmilar?
Docker compse part:
Gitlab ci part: