Skip to content

Commit

Permalink
add to readme, don't use any caching in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Dec 20, 2024
1 parent ba8f056 commit 74b1c3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Deployment of this service is now done through terraform cloud.
- `FORECAST_ERROR_HOURS` - using route `/v0/system/GBstatus/check_last_forecast_run` we can check if a forecast has
been made in the last `FORECAST_ERROR_HOURS` hours
- `ADJUST_MW_LIMIT` - the maximum the api is allowed to adjust the national forecast by
- `FAKE` - This allows fake data to be used, rather than connecting to a database

## Routes to SQL tables

Expand Down
2 changes: 2 additions & 0 deletions test-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
- DB_URL_PV=postgresql://postgres:postgres@postgres_db:5432/postgres
- GIT_PYTHON_REFRESH=quiet
- LOG_LEVEL=DEBUG
- CACHE_TIME_SECONDS=0
- DELETE_CACHE_TIME_SECONDS=0
command: >
bash -c "pytest --cov=./src
&& coverage report -m
Expand Down

0 comments on commit 74b1c3b

Please sign in to comment.