Skip to content

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

@kuriwaki

Description

@kuriwaki

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions