Skip to content
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

feat: add back Codecov with all files #558

Merged
merged 6 commits into from
Aug 18, 2022
Merged
Changes from 2 commits
Commits
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
10 changes: 8 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
extensions: fileinfo
- name: Install Hyde
run: git clone -b master https://github.com/hydephp/hyde.git

- name: Set Framework version to dev-github.base_ref
if: github.event_name != 'push'
run: "cd hyde && composer require hyde/framework:dev-master"
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Set environment to testing
run: cd hyde && echo "ENV=testing" > .env
- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest
run: cd hyde && vendor/bin/pest --testdox-text testdox.txt
run: cd hyde && vendor/bin/pest --coverage --coverage-xml build/coverage/coverage-xml --testdox-text testdox.txt
env:
ENV: testing

Expand All @@ -49,3 +49,9 @@ jobs:
cd hyde
curl https://gist.githubusercontent.com/caendesilva/d76fc6d73cb488863a8f6fda18a7c8c4/raw/24257c1f3ec4ce8a2c16601bbfa33f054f873be9/ping-openanalytics-testrunner.php -o ping.php
php ping.php "Framework CI Matrix" ${{ secrets.OPENANALYTICS_TOKEN }}

- name: "Publish coverage report to Codecov"
uses: codecov/codecov-action@v3
with:
directory: ./build/coverage
functionalities: network