Skip to content

Commit 9559a11

Browse files
Исправлена среда тестирования. Добавлен файл travis
1 parent c671ff1 commit 9559a11

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.github/workflows/php.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
matrix:
1717
php: [7.4, 8.0]
1818
experimental: [false]
19+
analysis: true
1920

2021
steps:
2122
- uses: actions/checkout@v2
@@ -50,12 +51,10 @@ jobs:
5051
- name: Download artifacts
5152
uses: actions/download-artifact@v2
5253

53-
- name: Codecov
54-
uses: codecov/codecov-action@v2.1.0
55-
with:
56-
files: ./tests/_output/coverage.xml
57-
verbose: true
58-
token: ${{ secrets.CODECOV_TOKEN }}
59-
60-
- name: Codecov Action
61-
uses: Atrox/codecov-action@v0.1.3
54+
- name: Upload coverage results to Coveralls
55+
if: matrix.analysis
56+
env:
57+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
58+
run: |
59+
composer require php-coveralls/php-coveralls -n -W
60+
vendor/bin/php-coveralls --coverage_clover=clover.xml -v

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)