Skip to content

Migrate from xcworkspace to swift package #41

Migrate from xcworkspace to swift package

Migrate from xcworkspace to swift package #41

Workflow file for this run

name: Swift
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build --build-tests
- name: Run tests
run: swift test
linux:
container:
image: swift:${{ matrix.linux }}
runs-on: ubuntu-latest
strategy:
matrix:
linux: [focal, jammy, noble]
steps:
- uses: actions/checkout@v4
- name: Build
run: swift build --build-tests --enable-test-discovery
- name: Test
run: swift test --enable-test-discovery
codecov:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Test and generate code coverage report
run: swift test --enable-code-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1