Skip to content

Unit Tests

Unit Tests #1

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-15]
swift: ["6.0"]
runs-on: ${{ matrix.os }}
steps:
- name: Setup Swift
uses: SwiftyLab/setup-swift@latest
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test