You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, .github/prjob_tests.yml runs the Golang test in GitHub Workflow, the tests use a Mock DB so we don't need to spin up any database before the test is run. We want to move the tests from using a Mock DB to a real Postgres DB so we have to have a running DB before the Golang test runs.
Design
So we want to update the Golang test .github/prjob_tests.yml Github workflow to create a database before the test using the test db docker-compose file docker/testdb-docker-compose.yml and drop the database after successfully running the tests.
Acceptance Criteria
I've tested on Chrome
I've created a test that...
I have rebased and tested locally before submitting my PR
I can submit a PR within 1 day of taking the bounty
Context
Currently,
.github/prjob_tests.yml
runs the Golang test in GitHub Workflow, the tests use a Mock DB so we don't need to spin up any database before the test is run. We want to move the tests from using a Mock DB to a real Postgres DB so we have to have a running DB before the Golang test runs.Design
So we want to update the Golang test
.github/prjob_tests.yml
Github workflow to create a database before the test using the test db docker-compose filedocker/testdb-docker-compose.yml
and drop the database after successfully running the tests.Acceptance Criteria
Here is an example backend test
The text was updated successfully, but these errors were encountered: