Skip to content

Token 2022 Support #191

Token 2022 Support

Token 2022 Support #191

Workflow file for this run

name: Run unit test
on:
pull_request:
branches:
- 'main'
jobs:
unit-test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: swift test --filter "SolanaSwiftUnitTests" --enable-code-coverage
- name: Processing converage data
run: |
xcrun llvm-cov export -format="lcov" .build/debug/SolanaSwiftPackageTests.xctest/Contents/MacOS/SolanaSwiftPackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: ./info.lcov # optional
flags: unittests # optional
name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)