Skip to content

Commit

Permalink
upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Mar 28, 2024
1 parent 4e77cf3 commit eccd5aa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ jobs:
php demos/_demo-data/create-db.php
vendor/bin/behat -vv --config behat.yml.dist
- name: aaa
uses: actions/upload-artifact@v4
with:
name: aaa
path: coverage/

- name: Upload coverage logs 1/2 (only for coverage)
if: env.LOG_COVERAGE
run: |
Expand All @@ -256,6 +262,16 @@ jobs:
echo xxx1
php -d memory_limit=2G vendor/bin/phpcov merge coverage/ --clover coverage/merged.xml
echo xxx2
- name: bbb
uses: actions/upload-artifact@v4
with:
name: bbb
path: coverage/

- name: Upload coverage logs 1/2 (only for coverage) B
if: env.LOG_COVERAGE
run: |
ls -l coverage/js | wc -l
(cd js && npx nyc report --temp-dir ../coverage/js --report-dir ../coverage/js -e vue --reporter=clover)
echo xxx3
Expand Down

0 comments on commit eccd5aa

Please sign in to comment.