run cypress tests inside a container, I did it myself with something along this lines:
FROM cypress/base:10 as TEST
WORKDIR /app
COPY package.json .
RUN yarn install
COPY cypress cypress
COPY cypress.json .
COPY public public
RUN yarn test:e2e
cypress creates by default an evidence folder where it puts some videos and screenshots of each tests, how to "push" that folder outside the container (on a third service for example) when it finishes?
use a small shell driver script… https://github.com/1and1/debianized-jupyterhub/blob/master/build.sh#L26
Обсуждают сегодня