psychoinformatics-de / inm-icf-utilities

MIT License
0 stars 5 forks source link

Test: add artifacts #21

Open jsheunis opened 1 year ago

jsheunis commented 1 year ago

add a simple setup to appveyor.yml for testing artifact deposits

Towards https://github.com/psychoinformatics-de/inm-icf-utilities/issues/19

jsheunis commented 1 year ago

I added:

artifacts:
  - path: /data/archive/study_1/catalog
    name: TestCatalog

and the build log says:

No artifacts found matching 'data/archive/study_1/catalog' path

https://ci.appveyor.com/project/mih/inm-icf-utilities/builds/47174884#L1010

Does this have to be an archive? And would the appveyor build have a access to 'data/archive/study_1/catalog'?

jsheunis commented 1 year ago

I guess the path is wrong, since the generated catalog path would be relative to the testing home directory...

jsheunis commented 1 year ago

I guess the path is wrong, since the generated catalog path would be relative to the testing home directory...

although, resolving the catalog path:

catalog_path = Path(test_studies_dir) / study / 'catalog'
catalog_path_abs = catalog_path.resolve()

produces: /data/archive/study_1/catalog

So I'm not really sure what I'm missing.