Skip to content

chore: bump python requests version #321

chore: bump python requests version

chore: bump python requests version #321

Workflow file for this run

name: Swift SDK Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: macos-13-xl
steps:
- uses: actions/checkout@v3
- name: Run test
run: xcodebuild test -scheme aws-solution-clickstream-swift -sdk iphonesimulator -derivedDataPath .build/ -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest' -enableCodeCoverage YES | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
- name: Convert to json format
run: |
cd .build/Build/ProfileData
cd $(ls -d */|head -n 1)
directory=${PWD##*/}
pathCoverage=.build/Build/ProfileData/${directory}/Coverage.profdata
cd ../../../../
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage .build/Build/Products/Debug-iphonesimulator/Clickstream.o > .build/info.lcov
- name: Upload Test Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: report
files: .build/info.lcov
swift: true