Skip to content

remove async call of subscribe callbacks (#156) #551

remove async call of subscribe callbacks (#156)

remove async call of subscribe callbacks (#156) #551

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-13
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v3
- name: SwiftLint
run: swiftlint lint --strict
- name: SwiftFormat
run: swiftformat --lint .
- name: Run tests
run: swift test --enable-code-coverage -v --filter YorkieUnitTests
- name: Prepare Code Coverage
run: xcrun llvm-cov export -format="lcov" .build/debug/YorkiePackageTests.xctest/Contents/MacOS/YorkiePackageTests -instr-profile .build/debug/codecov/default.profdata > lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: lcov.info