• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lucyparsons / OpenOversight / 5732169892
89%

Build:
DEFAULT BRANCH: develop
Ran 01 Aug 2023 09:53PM UTC
Jobs 1
Files 85
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Aug 2023 09:47PM UTC coverage: 90.427% (+0.006%) from 90.421%
5732169892

push

github

web-flow
Delete `create_db.py` (#1000)

## Fixes issue
https://github.com/lucyparsons/OpenOversight/issues/675

## Description of Changes
Removed `create_db.py` file, moved the logic to the Alembic file, and
created constants for the code around my changes.

## Notes for Deployment
If it works in development, it SHOULD work in production. 

## Tests and linting
 - [x] This branch is up-to-date with the `develop` branch.
 - [x] `pytest` passes on my local development environment.
 - [x] `pre-commit` passes on my local development environment.
 - [x] Ran the `make` default command and there were not any issues.

<details><summary>make dev output</summary>

```console
% make dev
docker-compose build
...
WARN[0000] The "APPROVE_REGISTRATIONS" variable is not set. Defaulting to a blank string. 
[+] Running 2/0
 ✔ Container openoversight-postgres-1  Running                                                                                                                                                             0.0s 
 ✔ Container openoversight-web-1       Running                                                                                                                                                             0.0s 
Postgres is up
## Creating database
docker-compose run --rm web alembic --config=./OpenOversight/migrations/alembic.ini stamp head
...
Postgres is up
## Populate database with test data
docker-compose run --rm web python ./test_data.py -p
...
2023-08-01 21:43:54,796 INFO sqlalchemy.engine.Engine [generated in 0.00006s] {'pk_1': 1}
[*] Completed successfully!
% 
```
</details>

7330 of 8106 relevant lines covered (90.43%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5732169892.1 01 Aug 2023 09:53PM UTC 0
90.43
GitHub Action Run
Source Files on build 5732169892
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5732169892
  • 495a9a0d on github
  • Prev Build on develop (#5731955755)
  • Next Build on develop (#5732262142)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc