Skip to content

Добавлены тесты и покрытие #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jan 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PHP Composer
name: build

on:
push:
Expand Down Expand Up @@ -45,9 +45,17 @@ jobs:
run: php vendor/bin/codecept run unit

- name: Run Codecept coverage
run: php vendor/bin/codecept run --coverage --coverage-xml

run: php vendor/bin/codecept run --coverage --coverage-xml --coverage-phpunit

- name: Download artifacts
uses: actions/download-artifact@v2

- name: Codecov
uses: codecov/codecov-action@v2.1.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./tests/_output
files: ./tests/_output/coverage.xml
flags: unittests
verbose: true
fail_ci_if_error: true
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# php-data-entities

![release](https://img.shields.io/github/v/release/mepihindeveloper/php-data-entities?label=version)
![license](https://img.shields.io/github/license/mepihindeveloper/php-data-entities)
![build](https://github.com/mepihindeveloper/php-data-entities/actions/workflows/php.yml/badge.svg?branch=development)
[![codecov](https://codecov.io/gh/mepihindeveloper/php-data-entities/branch/development/graph/badge.svg?token=36PP7VKHKG)](https://codecov.io/gh/mepihindeveloper/php-data-entities)

Компонент для работы с пользовательскими константами в PHP. Данный компонент помогает оперировать константами и их
представлениями.

Expand Down
Empty file added tests/acceptance/.gitkeep
Empty file.
Empty file added tests/functional/.gitkeep
Empty file.