Migrate from XCTest to Swift Testing #450
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Unit Tests | |
| on: | |
| # This runs in the context of the base of the pull request, | |
| # rather than in the context of the merge commit. | |
| # Maintainers must approve and we tighten permissions below. | |
| pull_request_target: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| uses: huggingface/hf-workflows/.github/workflows/swift_transformers_unit_tests.yml@main | |
| with: | |
| # Use the PR merge ref, not the head. | |
| pr_number: ${{ github.event.pull_request.number }} | |
| secrets: inherit |