mirror of
https://github.com/softinio/Fishee.git
synced 2025-02-22 21:46:05 -08:00
30 lines
510 B
YAML
30 lines
510 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [macos-15, ubuntu-latest]
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Swift
|
|
uses: swift-actions/setup-swift@v2
|
|
with:
|
|
swift-version: '6.0'
|
|
|
|
- name: Get swift version
|
|
run: swift --version
|
|
|
|
- name: Run tests
|
|
run: swift test
|