Skip to content

Update actions versions #184

Update actions versions

Update actions versions #184

Workflow file for this run

---
name: Test 🧪
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
test:
name: Test action 🎬
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
reports:
- path: test-branch.xml
threshold: 80
fail: true
publish: false
diff: false
diff-branch: main
diff-storage: _xml_coverage_reports
coverage-summary-title: "Code Coverage Summary (test-branch.xml)"
- path: test-missing-lines.xml
threshold: 50
fail: false
publish: true
diff: false
diff-branch: main
diff-storage: _xml_coverage_reports
coverage-summary-title: "Code Coverage Summary (test-missing-lines.xml)"
- path: test-no-branch.xml
threshold: 90
fail: true
publish: true
diff: true
diff-branch: main
diff-storage: _xml_coverage_reports_1
coverage-summary-title: "Code Coverage Summary (test-no-branch.xml)"
- path: test-python.xml
threshold: 90
fail: false
publish: false
diff: true
diff-branch: main
diff-storage: _xml_coverage_reports_2
coverage-summary-title: "Code Coverage Summary (test-python.xml)"
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v3
- name: Run test on ${{ matrix.reports.path }} 🏃‍♀️
uses: ./
with:
path: ./fixtures/${{ matrix.reports.path }}
threshold: ${{ matrix.reports.threshold }}
fail: ${{ matrix.reports.fail }}
publish: ${{ matrix.reports.publish }}
diff: ${{ matrix.reports.diff }}
diff-branch: ${{ matrix.reports.diff-branch }}
diff-storage: ${{ matrix.reports.diff-storage }}
coverage-summary-title: ${{ matrix.reports.coverage-summary-title}}