diff --git a/.github/workflows/IcpKit-Tests.yml b/.github/workflows/IcpKit-Tests.yml index 4ace395..240cb53 100644 --- a/.github/workflows/IcpKit-Tests.yml +++ b/.github/workflows/IcpKit-Tests.yml @@ -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 }}