Skip to content

Fix incorrect tree snapshot encoding/decoding #633

Fix incorrect tree snapshot encoding/decoding

Fix incorrect tree snapshot encoding/decoding #633

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-14
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.3'
- uses: actions/checkout@v4
- name: SwiftLint install
run: brew install swiftlint
- 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@v4
with:
file: lcov.info
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}