Skip to content

Commit

Permalink
Update IcpKit-Tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos Gaitanis committed Dec 13, 2024
1 parent 2217a13 commit 7ae004e
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions .github/workflows/IcpKit-Tests.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
# 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:
main
branches: [ "develop" ]

jobs:
build:
runs-on: macOS-latest
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 }}
- uses: actions/checkout@v4
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- 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 }}

0 comments on commit 7ae004e

Please sign in to comment.