Add script to run CI workflows (tests and linting) locally#11
Conversation
Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> Agent-Logs-Url: https://github.com/gensyn/ssh_command/sessions/58c43d00-2112-458f-9c4b-351fbc5b5fc7
|
@copilot Please remove the support for MacOS - there is no plan to use it. |
Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> Agent-Logs-Url: https://github.com/gensyn/ssh_command/sessions/92b93971-363d-43b9-9ca3-fc82698b22ab
|
@copilot The installation of docker requires |
Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> Agent-Logs-Url: https://github.com/gensyn/ssh_command/sessions/97cb93c5-3338-489c-b83a-d9ef15beb647
|
@copilot Two actions fail locally while they succeed on GitHub: |
…ilities) Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> Agent-Logs-Url: https://github.com/gensyn/ssh_command/sessions/5c417f2d-de7b-4c1d-88e2-1176a47ec298
... Fixed in 0211332. Both workflows are now skipped by default with a clear explanation:
The default run ( |
|
@copilot Please silently skip all actions that depend on GitHub or don't make sense to run locally. The important part is that tests and linting are run. |
Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com> Agent-Logs-Url: https://github.com/gensyn/ssh_command/sessions/05029d96-bf01-438d-9f2f-29f4d31157ef
Done in 9fc522c. |
No existing way to run the repository's CI workflows locally before pushing.
Changes
run_workflows_locally.sh– new executable script at the repo root that:get.docker.com) and act (via the official install script) if not already present (Linux only)actinvocations usesudotest.yml,pylint.yml, andintegration-tests.ymlwith thepushevent trigger against thecatthehacker/ubuntu:act-latestimagehassfest.yaml,validate.yaml,release.yaml) are silently omitted as they cannot run meaningfully offlineUsage
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.