ECMWFCode4Earth / vAirify

code repository for 2024 Code for Earth project #16
0 stars 0 forks source link

55 as a tester i have an automated integration test suite for the cams etl pipeline so that system quality does not regress #104

Closed mnyamunda-scottlogic closed 2 weeks ago

mnyamunda-scottlogic commented 2 weeks ago

The goal of this is as a manual regression file which can later be tweaked and added into a pipeline.

These tests run the main run_forecast_etl script but with the same grib each time. Specifically the GRIBs created on 2024-06-04 with abase_time of 00:00.

This ensures that we are uploading the exact same documents into the database every time. Therefore allowing use to assert exact keys and values.

We can confidently assert these exact values as the calculation has been done manually to see if they match the database. Bilinear interpolation etc.

Database is wiped and 'run_forecast_etl' is initiated with overridden "FORECAST_BASE_TIME"

Tests include

github-actions[bot] commented 2 weeks ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
764 715 94% 80% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 09f78a6 by action🐍