Skip to content

Commit

Permalink
Merge remote
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Aug 7, 2023
2 parents 9dd24f0 + a1638c8 commit eb04f0c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
contents: write # This is required for actions/checkout

jobs:
integration-tests:
Expand Down Expand Up @@ -87,6 +87,18 @@ jobs:
with:
name: output_shps
path: ./artifacts/coastlines_tests.shp.zip

# Add output test results 1
- uses: actions/upload-artifact@v3
with:
name: test_results
path: ./artifacts/stats_tests.png

# Add output test results 2
- uses: actions/upload-artifact@v3
with:
name: test_results
path: ./artifacts/stats_tests.csv

# Update code coverage
- name: Upload coverage to Codecov
Expand Down
1 change: 1 addition & 0 deletions coastlines/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ def generate_rasters(
"geopolygon": geopoly.buffer(buffer),
"time": (str(start_year - 1), str(end_year + 1)),
"dask_chunks": {"time": 1, "x": 2048, "y": 2048},
"dataset_maturity": "final",
}

# Load virtual product
Expand Down
2 changes: 2 additions & 0 deletions data/validation/processed/stats_tests.csv
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ time,n,mae,rmse,stdev,corr,bias,name
2023-02-24 03:17:56.295549,2669.0,4.84,6.16,5.56,0.975,-2.67,tests
2023-02-27 00:08:14.931969,2669.0,4.84,6.16,5.56,0.975,-2.67,tests
2023-02-27 04:30:37.640963,2669.0,4.84,6.16,5.56,0.975,-2.67,tests
2023-08-01 04:31:52.289422,2669.0,4.84,6.16,5.56,0.975,-2.67,tests
2023-08-02 01:40:33.629540,2669.0,4.84,6.16,5.56,0.975,-2.67,tests
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ In addition to testing whether the code runs without errors, we also run a small
## Latest integration test validation results


The latest integration test completed at **2023-02-27 15:30**. Compared to the previous run, it had an:
The latest integration test completed at **2023-08-02 11:40**. Compared to the previous run, it had an:
- RMSE accuracy of **6.16 m (:heavy_minus_sign: no change)**
- MAE accuracy of **4.84 m (:heavy_minus_sign: no change)**
- Bias of **-2.67 m (:heavy_minus_sign: no change)**
Expand Down
Binary file modified tests/stats_tests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb04f0c

Please sign in to comment.