CliDyn / climsight

prototype of a system that provide local climate information
BSD 3-Clause "New" or "Revised" License
27 stars 9 forks source link

Make tests #65

Closed kuivi closed 3 months ago

kuivi commented 4 months ago

I've added several tests with pytest for functions from geo_functions. HTML requests often yield slightly different results, so if there's a discrepancy, only a warning is shown. I added a GitHub action for PRs (main), but only for remote data. To run tests with only remote data use: pytest -m "not local_data". To run tests with only downloaded data use: pytest -m "not request".

koldunovn commented 3 months ago

Well it works now, and I merge it. I will open a couple of issues though.