Bugfix/aggregate unified endpoint is hard coded to use sum #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: macos-13 | |
environment: default | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Format lint | |
run: swiftformat --lint . | |
- name: Lint | |
run: swiftlint . | |
test: | |
environment: default | |
strategy: | |
matrix: | |
include: | |
- os: macos-13 | |
xcode: 14.3.1 # Swift 5.8.1 | |
- os: macos-13 | |
xcode: '15.2' # Swift 5.9.2 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode ${{ matrix.xcode }} | |
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app | |
- name: Run Tests | |
run: swift test --enable-code-coverage | |
- name: Swift Coverage Report | |
run: xcrun llvm-cov export -format="lcov" .build/debug/CoreDataRepositoryPackageTests.xctest/Contents/MacOS/CoreDataRepositoryPackageTests -instr-profile .build/debug/codecov/default.profdata > coverage_report.lcov | |
- uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true # optional (default = false) |