Skip to content

[IMP-3] Migrate pinger to async/await #35

[IMP-3] Migrate pinger to async/await

[IMP-3] Migrate pinger to async/await #35

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: 🔨 Select Xcode
run: xcodes select 16.2
- name: Checkout Code
uses: actions/checkout@v4
- name: 🛠️ Build
run: swift build -v
unit-tests:
runs-on: macos-latest
steps:
- name: 🔨 Select Xcode
run: xcodes select 16.2
- name: Checkout Code
uses: actions/checkout@v4
- name: 🧪 Run tests
run: xcodebuild test -scheme "pingx" -testPlan "pingx" -destination "OS=18.2,name=iPhone 16 Pro"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}