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

Enable automated testing for github pull requests #74

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

cmickeyb
Copy link
Contributor

Add github workflow to run tests on the default suite of contract families (currently all families). Rather than build the necessary PDO docker images, they are pulled from the github container registry. The tests will fail unless the appropriate images are available.

cmickeyb and others added 7 commits December 17, 2024 10:34
Initial commit for the example contract family. The example contract
family is primarily used as a means of documenting the process of
writing, building, and extending a contract family. In addition, the
example contract family provides a template for building a new
contract family. Copying the example contract family to a new
directory and editing family.cmake should be sufficient to create a
new family.

Signed-off-by: Mic Bowman <[email protected]>
Adds a simple, getting started target for building and
running the example contract.

Add a docker target to start a contracts container that is running
Jupyter. The current source directory is mounted in /project/pdo/dev
inside the container. When used with the Jupyter shell, this provides
a relatively easy way to develop and test contracts, specifically the
example contract.

Do not remove model during docker cleanup.  There is no particular
reason to remove the downloaded model during docker clean up. This
should save some time during build/debug/test cycles. The model can be
removed with the clean_model target.

Signed-off-by: Mic Bowman <[email protected]>
Adds the basic factory/template model for the example contract. This
should allow for, more or less, a cut and paste for creating a new
contract that preserved the counter. That is, the factory & template
are for the specific contract type and would have to be replaced
completely for a new contract.

Signed-off-by: Mic Bowman <[email protected]>
@cmickeyb cmickeyb self-assigned this Dec 20, 2024
cmickeyb and others added 4 commits December 20, 2024 09:50
For consistency of terminology... it is a docker *registry*,
not a docker *repository*.

Signed-off-by: Mic Bowman <[email protected]>
Update handling of user accounts and permissions to simplify
the use of PDO docker images from a registry.

Signed-off-by: Mic Bowman <[email protected]>
Add github workflow to run tests on the default suite of contract
families (currently all families). Rather than build the necessary PDO
docker images, they are pulled from the github container registry. The
tests will fail unless the appropriate images are available.

Signed-off-by: Mic Bowman <[email protected]>
Signed-off-by: Mic Bowman <[email protected]>
@cmickeyb cmickeyb force-pushed the mic.dec18.github_workflow branch from 561f1d2 to d61f85f Compare December 20, 2024 16:51
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