Skip to content

Commit

Permalink
.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Feb 18, 2025
1 parent 47ee95d commit a57ec0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/vortex-test-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ jobs:
run: composer test
working-directory: .vortex/installer

- name: Upload coverage report as an artifact
- name: Upload coverage reports as an artifact
uses: actions/upload-artifact@v4
with:
name: ${{github.job}}-code-coverage-report-${{ matrix.php-versions }}
path: .vortex/installer/.coverage-html
path: .vortex/installer/.logs

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v5
with:
files: .vortex/installer/cobertura.xml
files: .vortex/installer/.logs/cobertura.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
7 changes: 3 additions & 4 deletions .vortex/installer/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/build
/.coverage-html
!/composer.lock
/.logs
/.phpunit.cache
/cobertura.xml
/build
/vendor
/vendor-bin
!/composer.lock
4 changes: 2 additions & 2 deletions .vortex/installer/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="false">
<report>
<html outputDirectory=".coverage-html" lowUpperBound="50" highLowerBound="90"/>
<cobertura outputFile="cobertura.xml"/>
<html outputDirectory=".logs/.coverage-html" lowUpperBound="50" highLowerBound="90"/>
<cobertura outputFile=".logs/cobertura.xml"/>
</report>
</coverage>
</phpunit>

1 comment on commit a57ec0c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.