-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Konstantinos Gaitanis
committed
Dec 13, 2024
1 parent
2217a13
commit 7ae004e
Showing
1 changed file
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |