Skip to content

test: expand CI platforms#89

Merged
ultmaster merged 1 commit intomainfrom
codex/add-full-tests-for-all-platforms
Aug 14, 2025
Merged

test: expand CI platforms#89
ultmaster merged 1 commit intomainfrom
codex/add-full-tests-for-all-platforms

Conversation

@ultmaster
Copy link
Contributor

Summary

  • run full test workflow on all platforms supported by publish
  • package VS Code extension for each test matrix target

Testing

  • npm run build-webview
  • npm run build-cli
  • npm run lint
  • npm test
  • python -m pytest python/tests
  • xvfb-run -a npm run compile
  • xvfb-run -a npm run test-vscode

https://chatgpt.com/codex/tasks/task_e_689d3a8a5998832eac9c618fbeafb76d

Copilot AI review requested due to automatic review settings August 14, 2025 02:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR expands CI testing to all platforms supported by the publish workflow, transitioning from testing only on Ubuntu and Windows to including all supported architectures and operating systems.

  • Updates the test matrix to include specific platform targets (linux-x64, linux-arm64, win32-x64, darwin-x64, darwin-arm64)
  • Replaces generic OS matrix with platform-specific configurations including ARM64 support
  • Modifies packaging step to use platform-specific commands and targets

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- run: npm run package:win
if: matrix.platform == 'win32-x64'
- run: npm run package -- --target ${{ matrix.platform }}
if: matrix.platform != 'win32-x64'
Copy link

Copilot AI Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The condition excludes win32-x64 from running the generic package command, but this means win32-x64 will only run 'npm run package:win' while other platforms run 'npm run package -- --target'. This creates inconsistent packaging behavior and may not properly test the same packaging logic across platforms.

Suggested change
if: matrix.platform != 'win32-x64'
- run: npm run package -- --target ${{ matrix.platform }}
- run: npm run package:win
if: matrix.platform == 'win32-x64'

Copilot uses AI. Check for mistakes.
@ultmaster ultmaster merged commit 706999a into main Aug 14, 2025
7 checks passed
@ultmaster ultmaster deleted the codex/add-full-tests-for-all-platforms branch August 27, 2025 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants