fix: Slider values should be sorted by latest values #198
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: '*' | |
merge_group: | |
branches: [ main ] | |
env: | |
CI_XCODE_LATEST: '/Applications/Xcode_16.1.app/Contents/Developer' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
timeout-minutes: 15 | |
runs-on: macos-15 | |
strategy: | |
matrix: | |
destination: ['platform=iOS\ Simulator,OS=18.1,name=iPhone\ 16\ Pro\ Max', 'platform=watchOS\ Simulator,name=Apple\ Watch\ Series\ 10\ \(46mm\)', 'platform=macOS CODE_SIGN_IDENTITY=""', 'platform=visionOS\ Simulator,OS=2.1,name=Apple\ Vision\ Pro CODE_SIGN_IDENTITY=""'] | |
action: ['test', 'build'] | |
exclude: | |
- destination: 'platform=iOS\ Simulator,OS=18.1,name=iPhone\ 16\ Pro\ Max' | |
action: 'build' | |
- destination: 'platform=macOS CODE_SIGN_IDENTITY=""' | |
action: 'build' | |
- destination: 'platform=visionOS\ Simulator,OS=2.1,name=Apple\ Vision\ Pro CODE_SIGN_IDENTITY=""' | |
action: 'test' | |
- destination: 'platform=watchOS\ Simulator,name=Apple\ Watch\ Series\ 10\ \(46mm\)' | |
action: 'test' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Swiftlint | |
run: brew install swiftlint | |
- name: Build-Test | |
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -scheme CareKitEssentials -derivedDataPath DerivedData -destination ${{ matrix.destination }} ${{ matrix.action }} 2>&1 | xcbeautify --renderer github-actions | |
env: | |
DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} | |
- name: Upload codecov yml | |
run: | | |
cat .codecov.yml | curl --data-binary @- https://codecov.io/validate | |
- name: Prepare codecov | |
uses: sersoft-gmbh/swift-coverage-action@v4 | |
id: coverage-files | |
with: | |
format: lcov | |
search-paths: ./DerivedData | |
ignore-conversion-failures: true | |
env: | |
DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}} | |
fail_ci_if_error: false | |
token: ${{ secrets.CODECOV_TOKEN }} | |
env: | |
DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} | |