Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI should fail if E2E fails #872

Open
joepio opened this issue Apr 15, 2024 · 0 comments
Open

CI should fail if E2E fails #872

joepio opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
ci Github actions / e2e tests / build / etc

Comments

@joepio
Copy link
Member

joepio commented Apr 15, 2024

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
@joepio joepio self-assigned this Apr 15, 2024
@joepio joepio added the ci Github actions / e2e tests / build / etc label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Github actions / e2e tests / build / etc
Projects
None yet
Development

No branches or pull requests

1 participant