Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: add artifacts #21

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

jsheunis
Copy link
Contributor

@jsheunis jsheunis commented May 30, 2023

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

Towards #19

@jsheunis
Copy link
Contributor Author

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
Copy link
Contributor Author

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

@jsheunis
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant