Skip to content

Commit

Permalink
WIP: test-result reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Dec 20, 2023
1 parent da16931 commit c320d25
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
working-directory: ./foreman_acd
run: |
npm test
env:
CI: true
- name: Run access permission test
run: |
bundle exec rake test TEST="test/unit/foreman/access_permissions_test.rb"
Expand Down
6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
reporters: [
"default",
"jest-github-actions-reporter"
]
};
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"jest": "^23.6.0",
"jest-github-actions-reporter": "^1.0.3",
"jest-prop-type-error": "^1.1.0",
"lodash": "^4.17.11",
"react-redux-test-utils": "^0.1.1",
"sortabular": "^1.5.1",
"table-resolver": "^3.2.0"
},
"scripts": {
"test": "node node_modules/.bin/jest --no-cache"
"test": "node node_modules/.bin/jest --no-cache",
"test-github-actions": "node node_modules/.bin/jest --no-cache --reporters=default,jest-github-actions-reporter"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit c320d25

Please sign in to comment.