Skip to content

Commit 673484f

Browse files
committed
AI Coding: Fix/improve instructions for cloud agents
Specifically: * Fix the E2E test name * Use the concise `crystal --version` as a smoke test rather than the verbose `crystal --help`
1 parent a7f8279 commit 673484f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Error Handling:
8585
* Run `crystal --version` and ensure you see a result like `Crystal 2.0.2`.
8686
* If you see `crystal: command not found` then you probably need to activate a Python virtual environment first or use Poetry to run commands. Try `source venv3.14/bin/activate && crystal --version` first. If there is no `venv3.14` directory then try `poetry run crystal --version`.
8787
* Ensure you can run a unit test. Try `pytest tests/test_version.py` or `poetry run pytest ...`.
88-
* Ensure you can run an end-to-end test. Try `xvfb-run crystal test crystal.tests.test_main_window` or `poetry run xvfb-run crystal test ...`.
88+
* Ensure you can run an end-to-end test. Try `xvfb-run crystal test test_main_window` or `poetry run xvfb-run crystal test ...`.
8989
* If you see `xvfb-run: command not found` then remove `xvfb-run` from the command and try again.
9090
* If you see `Unable to access the X Display, is $DISPLAY set properly?` then you probably forgot to use `xvfb-run`.
9191

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
# ========================================================================
112112

113113
- name: Ensure crystal runs without error
114-
run: poetry run crystal --help
114+
run: poetry run crystal --version
115115

116116
- name: Run non-UI tests
117117
run: poetry run python -m pytest

0 commit comments

Comments
 (0)