Skip to content

Commit

Permalink
More cleanup, better formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid committed Aug 14, 2023
1 parent ef38722 commit aff646e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,11 @@ jobs:
$AggregateExitCode += $LastExitCode
npm run test-unit-firefox
$AggregateExitCode += $LastExitCode
if ($AggregateExitCode -ne 0) {
echo " "
Write-Error "Number of failed tests: $AggregateExitCode"
}
echo " "
echo "Number of failed tests: $AggregateExitCode"
exit $AggregateExitCode
- name: End-to-end tests (Windows)
Expand All @@ -144,19 +147,18 @@ jobs:
echo " "
Write-Verbose "Testing on Firefox..." -Verbose
npx mocha ./tests/firefox.e2e.runner.js
"Exit code: $LastExitCode, $?"
$AggregateExitCode += $LastExitCode
echo " "
Write-Verbose "Testing on IE11..." -Verbose
npx mocha ./tests/ieMode.e2e.runner.js
"Exit code: $LastExitCode, $?"
$AggregateExitCode += $LastExitCode
echo " "
if ($AggregateExitCode -gt 0) {
Write-Error "Total number of failed tests: $AggregateExitCode"
} else {
Write-Host "All tests passed!"
Write-Host "All e2e tests on Windows passed!"
}
echo " "
exit $AggregateExitCode
# tests-unit-mac:
Expand Down

0 comments on commit aff646e

Please sign in to comment.