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

CI: Can't run VS Code tests on MacOS #1247

Open
shouples opened this issue Mar 15, 2025 · 0 comments
Open

CI: Can't run VS Code tests on MacOS #1247

shouples opened this issue Mar 15, 2025 · 0 comments
Labels
CI/CD Relating to our CI/CD pipelines (build+test, packaging, etc) MacOS Issue applies to the extension running on MacOS testing Involves the test suite, click-testing, or CI processes

Comments

@shouples
Copy link
Contributor

shouples commented Mar 15, 2025

Since #453, our CI jobs bail here:

vscode/Makefile

Lines 39 to 45 in 67f2dd8

if pgrep -x "Dock" > /dev/null; then \
echo "GUI session is active."; \
npx gulp test; \
else \
echo "No active GUI session. Aborting tests."; \
exit 1; \
fi \

Image

Will need to coordinate with our internal folks on the possibility of using different instances.

Here's what we had before in

# Disabled until we can connect to an active GUI session
# - name: "Build & Test (VS Code: darwin x64)"
# dependencies: []
# skip: *build-test-skip-stable
# task:
# agent:
# machine:
# type: s1-prod-macos-13-5-amd64
# prologue: *build-test-prologue
# jobs: *build-test-jobs-stable
# epilogue: *build-test-epilogue
# - name: "Build & Test (VS Code: darwin arm64)"
# dependencies: []
# skip: *build-test-skip-stable
# task:
# agent:
# machine:
# type: s1-prod-macos-13-5-arm64
# prologue: *build-test-prologue
# jobs: *build-test-jobs-stable
# epilogue: *build-test-epilogue

Related:

@shouples shouples added testing Involves the test suite, click-testing, or CI processes MacOS Issue applies to the extension running on MacOS labels Mar 15, 2025
@shouples shouples added the CI/CD Relating to our CI/CD pipelines (build+test, packaging, etc) label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Relating to our CI/CD pipelines (build+test, packaging, etc) MacOS Issue applies to the extension running on MacOS testing Involves the test suite, click-testing, or CI processes
Projects
None yet
Development

No branches or pull requests

1 participant