Skip to content

Add a macro helper to get string literal value #140

Add a macro helper to get string literal value

Add a macro helper to get string literal value #140

Workflow file for this run

name: CI
on:
push:
branches: [ "master", "develop" ]
pull_request:
branches: [ "master", "develop" ]
jobs:
build:
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v --enable-code-coverage
- name: Prepare coverage file
run: xcrun llvm-cov export -format="lcov" .build/debug/ScreamURITemplatePackageTests.xctest/Contents/MacOS/ScreamURITemplatePackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true