Skip to content

Commit 555f913

Browse files
authored
Merge pull request #10 from elbformat/codecov
codecov integration
2 parents 01a22af + 67cca09 commit 555f913

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

.circleci/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# See: https://circleci.com/docs/2.0/configuration-reference
33
version: 2.1
44

5+
orbs:
6+
codecov: codecov/[email protected]
7+
58
# Define a job to be invoked later in a workflow.
69
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
710
jobs:
@@ -24,6 +27,8 @@ jobs:
2427
- run: 'phpdbg -qrr -d memory_limit=4G vendor/bin/phpunit --testsuite unit'
2528
- store_test_results:
2629
path: 'build'
30+
- codecov/upload:
31+
file: 'build/clover.xml'
2732
phpunit-integration:
2833
docker:
2934
- image: 'hgiesenow/php:7.4'
@@ -58,6 +63,8 @@ jobs:
5863
- run: 'vendor/bin/phpunit --testsuite integration'
5964
- store_test_results:
6065
path: 'build'
66+
- codecov/upload:
67+
file: 'build/clover.xml'
6168
php-cs-fixer:
6269
docker:
6370
- image: 'hgiesenow/php:7.4'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![CircleCI](https://circleci.com/gh/elbformat/field-helper-bundle/tree/main.svg?style=svg)](https://circleci.com/gh/elbformat/field-helper-bundle/tree/main)
2+
[![codecov](https://codecov.io/gh/elbformat/field-helper-bundle/branch/main/graph/badge.svg?token=TQATH67HKN)](https://codecov.io/gh/elbformat/field-helper-bundle)
23
[![License Badge](https://img.shields.io/github/license/datengaertnerei/test-data-service.svg)](https://mit-license.org/)
34

45
# Elbformat Field Helper Bundle for ibexa DXP
@@ -34,4 +35,4 @@ Further topics
3435
* [List of supported fields and their helpers](docs/fields.md)
3536
* [Extending existing helpers](docs/extending.md)
3637
* [Writing your own helpers](docs/own_helper.md)
37-
* [Running tests locally](docs/testing.md)
38+
* [Running tests locally](docs/testing.md)

codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
coverage:
2+
status:
3+
patch:
4+
default:
5+
target: 100%

docker/Dockerfile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM ezsystems/php:7.4
22
RUN apt update &&\
3-
apt install -y --no-install-recommends openssh-client &&\
3+
apt install -y --no-install-recommends openssh-client gpg gpg-agent &&\
44
rm -Rf /var/lib/apt/lists/*
55
ENV COMPOSER_MEMORY_LIMIT=-1

0 commit comments

Comments
 (0)