Skip to content

Update README.md

Update README.md #13

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: 🛠️ Build
run: swift build -v
unit-tests:
runs-on: macos-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: 🧪 Run tests
run: xcodebuild test -scheme "pingx" -testPlan "pingx" -destination "OS=17.2,name=iPhone 15 Pro"
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}