coverage-fmt-fix
Some checks failed
Deploy / deploy (push) Has been skipped
CI / test (push) Failing after 9m39s
CI / lint (push) Failing after 1m54s

This commit is contained in:
2025-08-12 13:52:05 +03:00
parent 44323d2d9c
commit a4c2825f8a
2 changed files with 1 additions and 9 deletions

View File

@@ -70,8 +70,7 @@ jobs:
- name: Create Coverage Badge
run: |
COVERAGE=$(cargo llvm-cov --summary | grep -oP 'coverage: \K[0-9.]+' || echo "0")
echo "![Coverage](https://img.shields.io/badge/coverage-${COVERAGE}%25-brightgreen)" > coverage-badge.md
echo "Coverage badge created: ${COVERAGE}%"
echo "Покрытие тестами: $COVERAGE %" >> $GITHUB_OUTPUT
continue-on-error: true
- name: Upload coverage HTML
@@ -86,12 +85,6 @@ jobs:
name: lcov-report
path: lcov.info
- name: Upload Coverage Badge
uses: actions/upload-artifact@v3
with:
name: coverage-badge
path: coverage-badge.md
lint:
runs-on: ubuntu-latest
steps:

View File

@@ -1,4 +1,3 @@
use reqwest::Client as HTTPClient;
use serde::Deserialize;
use serde_json::json;