ci: add workshops - #254
Open
lengau wants to merge 2 commits into
Open
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds Canonical Workshop configurations to support local development and CI testing across multiple Python versions/Ubuntu bases for this repository.
Changes:
- Introduces multiple
.workshop/*.yamlworkshop definitions (dev + per-Python-version test workshops). - Adds workshop SDKs and setup hooks for project tooling and Python venv support.
- Adds a GitHub Actions workflow to run the workshop test matrix on PRs and key branches.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
.workshop/venv/sdk.yaml |
Defines a venv-related workshop SDK. |
.workshop/venv/hooks/setup-base |
Installs python3-venv in the workshop base environment. |
.workshop/py39.yaml |
Workshop definition to run tests under Python 3.9. |
.workshop/py38.yaml |
Workshop definition to run tests under Python 3.8. |
.workshop/py314.yaml |
Workshop definition to run tests under Python 3.14 on Ubuntu 26.04. |
.workshop/py313.yaml |
Workshop definition to run tests under Python 3.13. |
.workshop/py312.yaml |
Workshop definition to run tests under Python 3.12. |
.workshop/py311.yaml |
Workshop definition to run tests under Python 3.11. |
.workshop/py310.yaml |
Workshop definition to run tests under Python 3.10. |
.workshop/dev.yaml |
“dev” workshop definition for local development actions (lint/test/docs/etc.). |
.workshop/craft/sdk.yaml |
Defines a craft workshop SDK. |
.workshop/craft/hooks/setup-project |
Installs project tooling via uv and runs make setup. |
.workshop/craft/hooks/setup-base |
Installs make in the workshop base environment. |
.gitignore |
Ignores local workshop lock state. |
.github/workflows/workshop-tests.yaml |
Adds CI job to run workshop-based tests across a matrix of workshops. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
make lint && make test?This adds a very basic way to use the workshop tool, both for local development ('dev' workshop) and for testing across Python versions and Ubuntu releases.