Skip to content

Commit

Permalink
Merge pull request #18 from Star-Academy/fixCI
Browse files Browse the repository at this point in the history
feat: tests result can see now
  • Loading branch information
msm1984 authored Aug 21, 2024
2 parents 462bad1 + 394c6f5 commit c4b2c4f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/CI_Backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches:
- dev
push:
branches:
- main

jobs:
build-and-test:
Expand All @@ -25,4 +28,13 @@ jobs:
run: dotnet build --configuration Release --no-restore

- name: Run tests
run: dotnet test --no-build --verbosity normal
run: dotnet test --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=test-results.trx" || true

- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: DotNET Tests
path: "**/test-results.trx"
reporter: dotnet-trx
fail-on-error: true

0 comments on commit c4b2c4f

Please sign in to comment.