Summary
Create a new CI workflow that runs a smoke test job when a PR is open.
Acceptance Criteria
Details / Tasks
The smoke test should roughly do the following, but more steps can be added if identified during the development process
- start up a database
- build the Dockerfile
- run the RL service on the docker container
- send a series (~4 or so) of curl requests to the /link endpoint, and verify results
Background / Context
Smoke tests are a good way to verify basic functionality of the service is working. Much of the details of the API are tested within unit tests, but we don't have a way right now to verify that the Dockerfile image still builds as expected. Smoke tests should help with that.
Summary
Create a new CI workflow that runs a smoke test job when a PR is open.
Acceptance Criteria
check_smoke_tests.ymlworkflowDetails / Tasks
The smoke test should roughly do the following, but more steps can be added if identified during the development process
Background / Context
Smoke tests are a good way to verify basic functionality of the service is working. Much of the details of the API are tested within unit tests, but we don't have a way right now to verify that the Dockerfile image still builds as expected. Smoke tests should help with that.