Reason:
fmu-dataio fails to generate metadata for the file upload in test_uploader.py::test_case_with_one_child_and_params
This is because the object that it wants to create metadata for is None.
When the object is None, fmu-dataio uses a NamedTemporaryFile instead. This file is passed around as normal and tried opened multiple times. This does not work on windows (https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file)
Possible fix:
Update the test to use a proper object so the NamedTemporaryFile is not used.
This PR disabled the github actions tests on Windows: https://github.com/equinor/fmu-sumo-uploader/pull/81/files
Reason: fmu-dataio fails to generate metadata for the file upload in
test_uploader.py::test_case_with_one_child_and_params
This is because the object that it wants to create metadata for is None. When the object is None, fmu-dataio uses aNamedTemporaryFile
instead. This file is passed around as normal and tried opened multiple times. This does not work on windows (https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file)Possible fix: Update the test to use a proper object so the
NamedTemporaryFile
is not used.