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

Add some form of tests #10

Open
nils-a opened this issue Apr 27, 2021 · 0 comments
Open

Add some form of tests #10

nils-a opened this issue Apr 27, 2021 · 0 comments
Labels

Comments

@nils-a
Copy link
Contributor

nils-a commented Apr 27, 2021

unit tests

Check if it's possible to add some unit tests to https://github.com/nils-org/dependabot-core/tree/cake/main - if so, they should run here before we pack that version into a new image.

integration tests

We need some form of integration tests, so that things like f2b01cb will not happen again.

"layers" that should be covered by integration tests:

  • the action, which calls the docker container with environment variables
  • the docker image creation (can the image be build, do the scripts run?)
  • the "dependabot shim" which gets the parameters from the environment and runs (the Cake) parts of dependabot core
@nils-a nils-a mentioned this issue Apr 27, 2021
@nils-a nils-a added the Build label Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant