Using Encore in Github Actions

Is it possible to use encore in a GitHub Action (or similar CI/CD pipeline)? We are looking into introducing code coverage reports for our PRs and would like to run encore test to generate the them. :test_tube:

How would one go about handling auth for secrets etc? Does it even work since it depends on other docker images? Any pitfalls?

Otherwise, would it be possible to include a coverage report as a part of the encore CI/CD pipeline?

This is what Auth Keys are designed for. Create an auth key and then authenticate with it inside your CI/CD pipeline. You can then use encore test and it will have access to your development secrets.

We definitely want to add code coverage as part of the Encore CI/CD pipeline as well, but it’s not something we’re working on right now.