chore: Added unit Tests #9
Workflow file for this run
This file contains 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
# This workflow will test a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Unit Tests | |
on: | |
- pull_request | |
jobs: | |
test-ios: | |
runs-on: macos-latest | |
steps: | |
# Setup the latest Swift | |
- name: Setup Swift | |
uses: SwiftyLab/setup-swift@latest | |
# Checkout the repository | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Install any dependencies | |
- name: Install Dependencies | |
run: swift package resolve | |
# Run unit Tests | |
- name: Run tests | |
run: swift test -v |