Skip to content

Merge pull request #26 from jaeilers/release/2.0.0 #26

Merge pull request #26 from jaeilers/release/2.0.0

Merge pull request #26 from jaeilers/release/2.0.0 #26

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-tests:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and Test
run: xcodebuild build test -project JESideMenuController.xcodeproj -scheme JESideMenuController-Package -destination 'platform=iOS Simulator,name=iPhone SE (3rd generation)' -enableCodeCoverage YES
- name: Generate code coverage files for codecov
uses: sersoft-gmbh/swift-coverage-action@v4
id: coverage-files
- name: Upload code coverage to codecov.io
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}