mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
3409b0c5a0
After a Team Retro, one of our squads felt like we needed more data on our test suites. This is the first effort to make our test results easier to grab. It uses the test-reporter action to add a github check to our main build and PR builds with our test results. This at least should make it easier to parse which tests are failing. However, it does not give us trends. So it does not yet make it easier to decide which tests are flaky just from a quick view. --------- Co-authored-by: Gastón Fournier <gaston@getunleash.io>
17 lines
432 B
YAML
17 lines
432 B
YAML
name: 'Attach Test report'
|
|
on:
|
|
workflow_run:
|
|
workflows: [TestReport]
|
|
types:
|
|
- completed
|
|
jobs:
|
|
report:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dorny/test-reporter@v1
|
|
with:
|
|
artifact: test-results # artifact name
|
|
name: Unit Tests # Name of the check run which will be created
|
|
path: '*.xml' # Path to test results (inside artifact .zip)
|
|
reporter: jest-junit
|