Skip to content

Commit

Permalink
add custom info
Browse files Browse the repository at this point in the history
  • Loading branch information
Ala Hawash committed Mar 12, 2024
1 parent 1205258 commit 541e54d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/axon-tools-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Axon Tools Tests

on:
push:
branches: [ "main", "reporting" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand All @@ -30,5 +30,5 @@ jobs:
- run: npm run test --workspace=@medable/mdctl-axon-tools
- uses: actions/upload-artifact@v4
with:
name: mdctl-axon-tools-report
name: mdctl-axon-tools-report-{{ matrix.node-version }}
path: ./packages/mdctl-axon-tools/reports
7 changes: 7 additions & 0 deletions packages/mdctl-axon-tools/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ module.exports = {
publicPath: './reports',
filename: 'report.html',
stripSkippedTest: true,
customInfos: [{
title: 'Ref',
value: process.env.GITHUB_REF_NAME
}, {
title: 'Commit #',
value: process.env.GITHUB_SHA
}]
}]]

}

0 comments on commit 541e54d

Please sign in to comment.