File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -96,16 +96,15 @@ jobs:
96
96
--env AWS_ACCESS_KEY_ID \
97
97
--env AWS_SECRET_ACCESS_KEY \
98
98
--env AWS_SESSION_TOKEN \
99
- --volume ${GITHUB_WORKSPACE}:/code \
99
+ --volume ${GITHUB_WORKSPACE}:/app \
100
100
--volume ${GITHUB_WORKSPACE}/tide_models:/var/share/tide_models \
101
- --volume ${GITHUB_WORKSPACE}/artifacts:/mnt/artifacts \
102
101
dea_intertidal pytest -v --cov=intertidal --cov-report=xml tests
103
102
104
- # Copy out validation outputs produced by the integration tests and place them
105
- # in correct output locations so they can be committed back into the repository
106
- cp ./artifacts/validation.jpg ./tests/validation.jpg
107
- cp ./artifacts/validation.csv ./tests/validation.csv
108
- cp ./artifacts/README.md ./tests/README.md
103
+ # # Copy out validation outputs produced by the integration tests and place them
104
+ # # in correct output locations so they can be committed back into the repository
105
+ # cp ./artifacts/validation.jpg ./tests/validation.jpg
106
+ # cp ./artifacts/validation.csv ./tests/validation.csv
107
+ # cp ./artifacts/README.md ./tests/README.md
109
108
110
109
# Commit validation results produced by integration tests back into repo
111
110
- name : Commit validation results into repository
Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ def test_dem_accuracy(
59
59
val_path = "tests/data/lidar_10m_tests.tif" ,
60
60
mod_path = "data/processed/ga_s2ls_intertidal_cyear_3/0-0-1/tes/ting/2021--P1Y/ga_s2ls_intertidal_cyear_3_testing_2021--P1Y_final_elevation.tif" ,
61
61
input_csv = "tests/validation.csv" ,
62
- output_csv = "artifacts /validation.csv" ,
63
- output_plot = "artifacts /validation.jpg" ,
64
- output_md = "artifacts /README.md" ,
62
+ output_csv = "tests /validation.csv" ,
63
+ output_plot = "tests /validation.jpg" ,
64
+ output_md = "tests /README.md" ,
65
65
):
66
66
"""
67
67
Compares elevation outputs of the previous CLI step against
@@ -189,7 +189,7 @@ def test_dem_accuracy(
189
189
ax2 .set_ylabel ("Metres (m)" )
190
190
ax2 .set_xlabel (None )
191
191
192
- # Write into mounted artifacts directory
192
+ # Write output CSV
193
193
accuracy_df .to_csv (output_csv )
194
194
plt .savefig (output_plot , dpi = 100 , bbox_inches = "tight" )
195
195
You can’t perform that action at this time.
0 commit comments