Skip to content

Conversation

@pmoprhy
Copy link
Contributor

@pmoprhy pmoprhy commented Jan 26, 2026

This PR adds a GitHub Actions workflow that runs unit tests on pull requests when Swift files change.

Changes

  • Added .github/workflows/tests.yml that runs xcodebuild test on PRs
  • Workflow triggers on changes to **/*.swift files and the workflow file itself
  • Code signing is disabled for CI compatibility

Closes #116

pmoprhy and others added 3 commits January 26, 2026 15:48
Set GITHUB_TOKEN permissions to 'contents: read' for both workflows to follow security best practices and limit token permissions to the minimum required.
The file exceeds the 400-line limit after recent OSLog updates.
All other SwiftLint rules remain enforced for this file.
@watkyn watkyn merged commit f286443 into master Jan 27, 2026
4 checks passed
@watkyn watkyn deleted the issue-116-unit-tests-workflow branch January 27, 2026 22:32
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.

Run the unit tests in GitHub Actions on PRs

4 participants