-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tasks: Add integration test for image-refresh via issue-scan
This covers the real thing in between getting the "issue" webhook data and uploading the image to the S3 server, and hence `issue-scan`, `image-refresh`, `image-create`, S3 image credentials, etc. Extend mock-github for the operations that `image-refresh` does, like converting an issue to a pull, posting test statuses, etc. These aren't asserted: it's possible in principle with keeping state in the mock, but these aren't the parts that are sensitive to us changing our bots infrastructure. Also, these are better done in bots' unittests than this integration test.
- Loading branch information
1 parent
2e9c5ce
commit 493ee86
Showing
2 changed files
with
121 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters