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

feat: add tests and cross-platform CI support #22

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

pepicrft
Copy link
Contributor

@pepicrft pepicrft commented Dec 30, 2024

Add test target and initial test cases for Path

  • Added a new test target "PathTests" in Package.swift and Project.swift
  • Created test cases in PathTests.swift to verify path handling functionality
  • Added platform-specific tests for both Windows and Unix-like systems
  • Updated bundle identifier from io.tuist.Path to dev.tuist.Path

Enhance CI workflow and project configuration

  • Added SPM test job to validate across Ubuntu, macOS, and Windows
  • Updated runner versions to use latest available versions
  • Added Derived/ to .gitignore
  • Added test cases to verify path components, extensions, and directory operations

These changes establish a comprehensive test suite and ensure consistent behavior across platforms.

- Added a new test target "PathTests" in Package.swift.
- Created a basic test structure in PathTests.swift with a sample test case to verify functionality.
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pepicrft pepicrft changed the title Update Project.swift to change bundle ID and add unit test target for Path feat: add tests and cross-platform CI support Dec 30, 2024
@pepicrft pepicrft marked this pull request as ready for review December 30, 2024 17:37
- Updated .gitignore to include Derived/ and *.xcworkspace files.
- Modified Project.swift to fix syntax in the test target dependencies.
- Expanded GitHub Actions workflow to support testing across multiple OS environments (Ubuntu, macOS, Windows) and added a new job for Swift Package Manager (SPM) testing.
- Added comprehensive unit tests for path handling in PathTests.swift, covering both Windows and Unix-like systems.

These changes improve the project's build and test capabilities across different platforms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant