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

Use Dataverse Action to create full download/upload test suite #134

Open
kuriwaki opened this issue May 12, 2024 · 0 comments
Open

Use Dataverse Action to create full download/upload test suite #134

kuriwaki opened this issue May 12, 2024 · 0 comments

Comments

@kuriwaki
Copy link
Member

kuriwaki commented May 12, 2024

I am consolidating #131, #40, #4 to this thread.

The new developments in PyDataverse as channelled through https://github.com/gdcc/dataverse-action looks promising for live testing. We can use this to test dataverse creation and dataset upload, in addition to the usual downloads.

@JR-1991 writes:

"the action spins up a local Dataverse instance available to the action's runner. ... For instance, you can create a collection and corresponding datasets using pyDataverse or cURL after setting up the Dataverse instance. This way, you can manage various cases (e.g., includes tabular data, zips, etc) and, in general, have more control over the tests themselves. I personally prefer it over using Demo or Harvard Dataverse, because it eliminates a layer of dependency. ... PyDataverse already includes some functions we could employ in your Action to create datasets and collections."

I probably don't have bandwidth on this, so PRs are welcome.

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

No branches or pull requests

1 participant