Adding grouped results #330
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 | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
XCODE_APP_NAME: Xcode_15.2.app | |
jobs: | |
quality: | |
name: quality | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: taiki-e/install-action@just | |
- name: SwiftLint | |
run: | | |
just lint | |
# - name: Build Example app | |
# env: | |
# DESTINATION: ${{ matrix.destination }} | |
# run: | | |
# just build-example | |
test: | |
name: test | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: taiki-e/install-action@just | |
- name: Select Xcode version | |
run: | | |
echo "listing available Xcode versions:" | |
ls -d /Applications/Xcode* | |
sudo xcode-select --switch /Applications/$XCODE_APP_NAME/Contents/Developer | |
- name: Test | |
run: | | |
just test | |
- name: Export coverage | |
run: | | |
just export-code-coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.lcov | |
fail_ci_if_error: true | |
verbose: true |