Skip to content

Commit

Permalink
Exclude lint results from unit test results and do not fail lint scri…
Browse files Browse the repository at this point in the history
…pt on errors as the created report file and annotation indicates the errors.
  • Loading branch information
barnettwilliam committed Feb 20, 2024
1 parent 7ed4bdf commit fc6e100
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ jobs:
if: success() || failure()
with:
name: Unit Test Results
path: platform/reports/*.xml
path: platform/reports/TESTS*.xml
reporter: java-junit
fail-on-error: true
2 changes: 1 addition & 1 deletion platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "webpack --mode=development",
"package": "copyfiles -u 1 \"public/**/*\" dist",
"start": "docker compose up --build --force-recreate",
"lint": "eslint src/**/*.js --format junit --output-file ./reports/lint-results.xml"
"lint": "eslint src/**/*.js --format junit --output-file ./reports/lint-results.xml; exit 0"
},
"devDependencies": {
"copyfiles": "^2.4.1",
Expand Down
2 changes: 1 addition & 1 deletion tokenserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "tsc",
"start": "node -r dotenv/config ./dist/server.js",
"test": "echo \"Warning: no tests to run.\"",
"lint": "eslint src/**/*.js --format junit --output-file ./reports/lint-results.xml"
"lint": "eslint src/**/*.js --format junit --output-file ./reports/lint-results.xml; exit 0"
},
"dependencies": {
"@octokit/auth-oauth-app": "7",
Expand Down

0 comments on commit fc6e100

Please sign in to comment.