Skip to content

Add concurency support for the build-linux and build-macos workflows #70

Add concurency support for the build-linux and build-macos workflows

Add concurency support for the build-linux and build-macos workflows #70

Workflow file for this run

name: build-macos
on:
push:
branches:
- "main"
concurrency:
group: build-macos
cancel-in-progress: true
jobs:
macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: swift build
- name: Test
run: swift test --enable-code-coverage
- name: Codecov
run: |
xcrun llvm-cov export -format="lcov" .build/debug/PeppermintPackageTests.xctest/Contents/MacOS/PeppermintPackageTests -instr-profile .build/debug/codecov/default.profdata > .build/PeppermintPackageTests.lcov
bash <(curl https://codecov.io/bash)