Skip to content

CI should fail if E2E fails #872

@joepio

Description

@joepio

https://github.com/atomicdata-dev/atomic-server/actions/runs/8664554717/job/23761217890#step:6:11924

  ENV FRONTEND_URL=http://localhost:9883
  COPY --chmod=0755 +build/atomic-server /atomic-server-bin
  # We'll have to zip it https://github.com/earthly/earthly/issues/2817
  TRY
    RUN nohup /atomic-server-bin --initialize & pnpm run test-e2e ; zip -r test.zip /app/e2e/playwright-report
  FINALLY
    SAVE ARTIFACT test.zip AS LOCAL artifact/test-results.zip
  END
  RUN unzip -o test.zip -d /artifact
  # upload to https://atomic-tests.netlify.app/
  RUN --secret NETLIFY_AUTH_TOKEN=NETLIFY_TOKEN netlify deploy --dir /artifact/app/e2e/playwright-report --prod --auth $NETLIFY_AUTH_TOKEN --site atomic-tests

Metadata

Metadata

Assignees

Labels

ciGithub actions / e2e tests / build / etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions