Skip to content

Commit

Permalink
ci: introduce Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Dec 11, 2024
1 parent 9913068 commit 5e006f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,9 @@ jobs:
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
run: |
make mutation
# - name: Generate code coverage
# run: |
# make code-coverage
# - name: Send code coverage report to coveralls.io
# if: github.event_name != 'pull_request'
# run: .Build/bin/php-coveralls -v
# env:
# COVERALLS_RUN_LOCALLY: 1
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Run tests and collect coverage
run: .Build/bin/phpunit --configuration Tests/phpunit.xml.dist --coverage-clover coverage.xml .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

[![CI](https://github.com/brotkrueml/schema/actions/workflows/ci.yml/badge.svg)](https://github.com/brotkrueml/schema/actions/workflows/ci.yml)
[![Documentation](https://github.com/brotkrueml/schema/actions/workflows/docs.yml/badge.svg)](https://github.com/brotkrueml/schema/actions/workflows/docs.yml)
[![codecov](https://codecov.io/gh/brotkrueml/schema/graph/badge.svg?token=SFUF1UL2X2)](https://codecov.io/gh/brotkrueml/schema)
[![Infection MSI](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgh.neting.cc%2Fbrotkrueml%2Fschema%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/brotkrueml/schema/main)
[![Crowdin](https://badges.crowdin.net/typo3-extension-schema/localized.svg)](https://crowdin.com/project/typo3-extension-schema)
[![Latest Stable Version](https://img.shields.io/packagist/v/brotkrueml/schema.svg?label=stable)](https://packagist.org/packages/brotkrueml/schema)
[![Total Downloads](https://img.shields.io/packagist/dt/brotkrueml/schema.svg)](https://packagist.org/packages/brotkrueml/schema)
[![Infection MSI](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgh.neting.cc%2Fbrotkrueml%2Fschema%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/brotkrueml/schema/main)

[![Verified TYPO3 Extension](Documentation/Images/verified.svg) Verified TYPO3 Extension](https://typo3.com/typo3-cms/verified-extensions-integrations-for-typo3/extensions/embedding-schemaorg-vocabulary-in-typo3)

Expand Down

0 comments on commit 5e006f7

Please sign in to comment.