Browse Source

Updated the CI

tags/v3.1.0
Cédric Belin 4 months ago
parent
commit
b9a82e2add
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      .github/workflows/build.yaml
  2. +1
    -1
      tool/watch.ps1

+ 2
- 2
.github/workflows/build.yaml View File

@@ -25,9 +25,9 @@ jobs:
composer global require cedx/coveralls
composer install --no-interaction
- name: Run tests
run: composer run-script test
run: composer run test
- name: Collect code coverage
env:
COVERALLS_REPO_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: success()
run: composer run-script coverage
run: composer run coverage

+ 1
- 1
tool/watch.ps1 View File

@@ -7,7 +7,7 @@ $action = {
if ($EventArgs.Name -notlike "*.g.php") {
$changeType = [String] $EventArgs.ChangeType
Write-Host "'$($EventArgs.Name)' was $($changeType.ToLower()): starting a new build..."
$timeSpan = Measure-Command { composer run-script build }
$timeSpan = Measure-Command { composer run build }
Write-Host "> Finished the build after $($timeSpan.TotalSeconds) seconds."
}
}


Loading…
Cancel
Save