Integration test the current s3 media provider by loading it into a synapse running in github actions.
I did this because I needed to be able to load and test a new module using the synapse action I wrote, and thought I should make sure I can test it on an existing module first, before trying to develop a new module using it, so decided to write an integration test for this module.
The test uses a GHA to setup a synapse with the module installed, then sets up a matching minio to fake being S3, runs a script that attempts to login and upload/download media, finally validating that the downloaded file and the file stored in minio match the uploaded file.
Integration test the current s3 media provider by loading it into a synapse running in github actions.
I did this because I needed to be able to load and test a new module using the synapse action I wrote, and thought I should make sure I can test it on an existing module first, before trying to develop a new module using it, so decided to write an integration test for this module.
The test uses a GHA to setup a synapse with the module installed, then sets up a matching minio to fake being S3, runs a script that attempts to login and upload/download media, finally validating that the downloaded file and the file stored in minio match the uploaded file.