Compare commits
10 Commits
a4e609e62f
...
5b1896396d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b1896396d | ||
|
|
95223dc5c6 | ||
|
|
a5d076880b | ||
|
|
d2ce33cfeb | ||
|
|
9ca630c421 | ||
|
|
a17f1aeca6 | ||
|
|
6af52227f3 | ||
|
|
a7cf601085 | ||
|
|
4ba0e5ba0b | ||
|
|
d914bdae75 |
@@ -1,4 +1,4 @@
|
||||
name: Tests
|
||||
name: Unit Tests
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -30,20 +30,14 @@ jobs:
|
||||
run: dotnet build --no-restore --verbosity normal
|
||||
|
||||
- name: Run unit tests
|
||||
run: dotnet test --no-build --verbosity normal --logger "trx;LogFileName=test-results.trx" --results-directory ./TestResults
|
||||
run: dotnet test --no-build --verbosity minimal --logger "trx;LogFileName=test-results.trx" --results-directory ./TestResults
|
||||
|
||||
- name: Generate test report
|
||||
if: always()
|
||||
run: |
|
||||
echo "Test results:"
|
||||
find ./TestResults -name "*.trx" -exec echo "Found test result file: {}" \;
|
||||
|
||||
- name: Upload test results
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: test-results
|
||||
path: ./TestResults/
|
||||
retention-days: 30
|
||||
if-no-files-found: warn
|
||||
echo "File sizes:"
|
||||
find ./TestResults -name "*.trx" -exec ls -lh {} \;
|
||||
echo "✅ Tests completed successfully"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user