Skip to content

Commit

Permalink
Remove codecov support
Browse files Browse the repository at this point in the history
They block access from russia so are no longer useful to us
  • Loading branch information
AMDmi3 committed Nov 25, 2024
1 parent da1e47a commit 76a0ec7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,6 @@ jobs:
- name: Format check
run: cargo fmt --check
- name: Test
run: cargo test --features=coverage
run: cargo test
env:
DATABASE_URL: postgres://postgres@localhost:5432/
RUSTFLAGS: "-Cinstrument-coverage"
RUSTDOCFLAGS: "-Cinstrument-coverage"
LLVM_PROFILE_FILE: "${{ github.workspace }}/default_%m_%p.profraw"
- name: Collect coverage
run: |
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.19/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar -xjf-
./grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --keep-only 'repology-webapp/*' --keep-only 'repology-common/*' --keep-only 'repology-vulnupdater/*' -o coverage.lcov
- name: Submit coverage
if: ${{ github.actor != 'dependabot[bot]' && github.event_name != 'pull_request' }}
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
files: ./coverage.lcov
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Repology

[![CI](https://github.com/repology/repology-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/repology/repology-rs/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/repology/repology-rs/graph/badge.svg?token=sViAafpNLI)](https://app.codecov.io/gh/repology/repology-rs)

Repology is a service which monitors *a lot* of package repositories
and other sources and aggregates data on software package versions,
Expand Down

0 comments on commit 76a0ec7

Please sign in to comment.