Skip to content

ci: trying to get coverage right #1

ci: trying to get coverage right

ci: trying to get coverage right #1

Workflow file for this run

name: Test Coverage

Check failure on line 1 in .github/workflows/coverage.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/coverage.yaml

Invalid workflow file

Unexpected tag '!exists('coverage/index.html')'
on:
workflow_call:
workflow_dispatch:
jobs:
SimpleCov:
runs-on: ubuntu-latest
steps:
# Only download this if the coverage/ directory isn't present
- if: !exists('coverage/index.html')
uses: actions/download-artifact@v4
with:
name: coverage-report
- name: Check SimpleCov coverage
uses: joshmfrankel/simplecov-check-action@main
with:
minimum_suite_coverage: 97
minimum_file_coverage: 90
github_token: ${{ secrets.GITHUB_TOKEN }}