feat: Add code coverage support #2110
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🏗️ Main CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: ${{ matrix.version }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [ min, 1.86.2, max ] | |
uses: ./.github/workflows/template-main.yaml | |
with: | |
version: ${{ matrix.version }} | |
check: | |
if: always() | |
runs-on: ubuntu-latest | |
name: 🚦 Status Check | |
needs: [ test ] | |
steps: | |
- name: ℹ️ Test Matrix Result | |
run: | | |
echo result = ${{ needs.test.result }} | |
- name: ✅ Status Check - success | |
if: ${{ needs.test.result == 'success' }} | |
run: | | |
echo "All tests successfully completed!" | |
exit 0 | |
- name: ❌ Status Check - failure | |
if: ${{ needs.test.result != 'success' }} | |
run: | | |
echo "Status Check failed!" | |
exit 1 |