Skip to content

Fix for intermittent failure for multi term expressions. The cause is… #25

Fix for intermittent failure for multi term expressions. The cause is…

Fix for intermittent failure for multi term expressions. The cause is… #25

Workflow file for this run

name: coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
coverage:
runs-on: windows-latest
strategy:
matrix:
include:
- branch: development
tag: DEVELOPMENT-SNAPSHOT-2021-07-15-a
options: '-Xmanifest -use-ld=link -Xswiftc -use-ld=link'
steps:
- uses: seanmiddleditch/gha-setup-vsdevenv@master
- uses: compnerd/gha-setup-swift@main
with:
tag: ${{ matrix.tag }}
branch: ${{ matrix.branch }}
- uses: actions/checkout@v2
- name: Build
run: swift build ${{ matrix.options }}
- name: Test
run: swift test --enable-code-coverage ${{ matrix.options }}
- name: Process Coverage
run: |
llvm-cov export -format lcov -ignore-filename-regex ".build|Tests" -instr-profile .build\x86_64-unknown-windows-msvc\debug\codecov\default.profdata .build\x86_64-unknown-windows-msvc\debug\CassowaryPackageTests.xctest > coverage.lcov
- uses: codecov/[email protected]
with:
files: coverage.lcov