Skip to content

Commit

Permalink
Upg: Switch the test reporter (#10173)
Browse files Browse the repository at this point in the history
* Switch the test reporter

* fix report path

* upgrade summary format

* Upg: improve caching and naming

* Fix: failing test
  • Loading branch information
Fraggle authored Jan 23, 2025
1 parent 303b225 commit 1617933
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build-and-lint-front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ permissions:
actions: read
checks: write
jobs:
check-eslint:
all-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.13.0
cache: "npm"
cache-dependency-path: ./front/package-lock.json
cache-dependency-path: |
./front/package-lock.json
./types/package-lock.json
./sdks/js/package-lock.json
- name: Build Types
working-directory: types
run: npm install && npm run build
Expand All @@ -44,10 +47,12 @@ jobs:
FRONT_DATABASE_URI: "postgres://test:test@localhost:5433/front_test"
NODE_ENV: test
run: npx tsx admin/db.ts && npm run test:ci
- name: Tests Report
- name: Build Tests Report
if: always()
uses: dorny/test-reporter@1a288b62f8b75c0f433cbfdbc2e4800fbae50bd7 # Specific hash because of https://github.com/dorny/test-reporter/issues/67
uses: mikepenz/action-junit-report@v5
with:
name: Front Tests # Name of the check run which will be created
path: front/junit*.xml # Path to test results
reporter: jest-junit # Format of test results
report_paths: "**/front/junit*.xml"
detailed_summary: true
flaky_summary: true
group_suite: true
check_name: Tests Report

0 comments on commit 1617933

Please sign in to comment.