Skip to content

Dab (#8)

Dab (#8) #73

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: IcpKit Tests
on:
push:
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "6.0"
- name: Run tests
run: swift test --enable-code-coverage --parallel
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
#jobs:
# build:
# runs-on: macOS-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v1
# - name: List iOS Simulators
# run: xcrun simctl list
# - name: Build and Test
# run: xcodebuild test -quiet -scheme IcpKit-Package -destination "OS=18.1,name=iPhone 15 Pro" '-skip-testing:IcpKitTests/ICPCryptographyTests/testBlsSignatureVerification'
# - name: Upload coverage to codecov.io
# uses: codecov/codecov-action@v4.5.0
# with:
# token: ${{ secrets.CODECOV_TOKEN }}