mirror of
https://github.com/softinio/Fishee.git
synced 2025-02-22 21:46:05 -08:00
31 lines
514 B
YAML
31 lines
514 B
YAML
|
name: Run Tests
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
matrix:
|
||
|
os: [macos-latest, 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
|