mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-09 15:48:43 +00:00
update
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -50,13 +50,6 @@ jobs:
|
|||||||
- name: Run coverage
|
- name: Run coverage
|
||||||
run: cargo tarpaulin --workspace --out Xml --fail-under 85
|
run: cargo tarpaulin --workspace --out Xml --fail-under 85
|
||||||
|
|
||||||
# Optionally upload the coverage report as an artifact:
|
|
||||||
#- name: Upload coverage report
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: coverage-report
|
|
||||||
# path: tarpaulin-report.xml
|
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
name: Performance Benchmark (Hyperfine)
|
name: Performance Benchmark (Hyperfine)
|
||||||
needs: build-and-test
|
needs: build-and-test
|
||||||
@@ -94,10 +87,4 @@ jobs:
|
|||||||
if (( $(echo "$p95 > 3.0" | bc -l) )); then
|
if (( $(echo "$p95 > 3.0" | bc -l) )); then
|
||||||
echo "::error ::Performance threshold exceeded (P95 > 3.0s)"
|
echo "::error ::Performance threshold exceeded (P95 > 3.0s)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# Optionally upload perf.json
|
|
||||||
#- name: Upload benchmark results
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: perf-results
|
|
||||||
# path: perf.json
|
|
Reference in New Issue
Block a user