Skip to content

ci: corrects coverage conditional #2

ci: corrects coverage conditional

ci: corrects coverage conditional #2

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

(Line: 13, Col: 13): Unrecognized function: 'exists'. Located at position 2 within expression: !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 }}