mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +00:00
ci: publish test result action
This commit is contained in:
parent
a7d07be1be
commit
ef52c2b00d
11
.github/workflows/lint-and-tests.yml
vendored
11
.github/workflows/lint-and-tests.yml
vendored
@ -8,6 +8,8 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
php-setup:
|
||||
@ -145,7 +147,14 @@ jobs:
|
||||
run: ln -s custom_rdap_servers.example.yaml config/app/custom_rdap_servers.yaml
|
||||
|
||||
- name: Run PHPUnit
|
||||
run: vendor/bin/phpunit --coverage-text
|
||||
run: vendor/bin/phpunit --coverage-text --log-junit test-results.xml
|
||||
|
||||
- name: Publish Test Results
|
||||
uses: EnricoMi/publish-unit-test-result-action@v2
|
||||
if: (!cancelled())
|
||||
with:
|
||||
files: |
|
||||
test-results.xml
|
||||
|
||||
eslint:
|
||||
name: ESLint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user