Skip to content

Commit

Permalink
fix: where clover xml is output
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Dec 12, 2024
1 parent 7d4977a commit ce61e79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
docker:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
Expand All @@ -18,7 +18,7 @@ jobs:
cp .env-example .env
just setup
lint:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
Expand All @@ -33,7 +33,7 @@ jobs:
cd src
just install lint
test:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
strategy:
matrix:
phpversion: ['8.2', '8.3', '8.4']
Expand All @@ -56,7 +56,7 @@ jobs:
just coverage
coverage:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2
Expand Down
2 changes: 1 addition & 1 deletion src/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ clean-db:

# Run a coverage report
coverage:
XDEBUG_MODE=coverage ./{{PHP_BIN}}/phpunit --coverage-html clover.html --coverage-clover clover.xml
XDEBUG_MODE=coverage ./{{PHP_BIN}}/phpunit --coverage-html clover.html --coverage-clover build/logs/clover.xml

# Install dependencies
install:
Expand Down

0 comments on commit ce61e79

Please sign in to comment.