diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index b34bc20..24b7e48 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -10,7 +10,7 @@ on:
jobs:
- build_and_test:
+ Build_and_Test:
env:
BUILD_CONFIG: 'Release'
@@ -45,9 +45,6 @@ jobs:
- name: Restore dependencies
run: dotnet restore $SOLUTION
-
- - name: Build Project
- run: dotnet build $SOLUTION --configuration $BUILD_CONFIG
- name: Run Test
run: dotnet test $SOLUTION --configuration $BUILD_CONFIG --logger "trx;LogFileName=test-results.trx" || true
@@ -60,3 +57,6 @@ jobs:
path: "**/test-results.trx"
reporter: dotnet-trx
fail-on-error: true
+
+ - name: Build Project
+ run: dotnet build $SOLUTION --configuration $BUILD_CONFIG
\ No newline at end of file
diff --git a/README.md b/README.md
index 863d3f9..a301360 100644
--- a/README.md
+++ b/README.md
@@ -4,10 +4,12 @@ This repository shows an example of dotnet nunit test , repo generation, seleniu
# Seleinum Chrome Browser and Chrome Driver
-# steps:
- - uses: browser-actions/setup-chrome@v1
- with:
- chrome-version: 123
+# Update Permission for report:
+ permissions:
+ issues: write
+ contents: write
+ actions: write
+ checks: write
"# dotnet unit-report"
@@ -20,15 +22,15 @@ This repository shows an example of dotnet nunit test , repo generation, seleniu
uses: browser-actions/setup-chrome@v1
with:
# Optional: do not specify to match Chrome's version
- chrome-version: '123'
+ chrome-version: '125'
- name: Setup Chrome-driver
uses: nanasess/setup-chromedriver@v2
with:
# Optional: do not specify to match Chrome's version
- chromedriver-version: '123.0.6312.122'
-# hint-of-deal with errror
+ chromedriver-version: '125.0.6422.14100'
+# Update Permission for report:
https://sjramblings.io/github-actions-resource-not-accessible-by-integration
permissions:
issues: write
@@ -36,13 +38,15 @@ https://sjramblings.io/github-actions-resource-not-accessible-by-integration
actions: write
checks: write
-# Rest API Example
-
- using System.Net.Http
- using System.Net.Http.Headers
+# Combine nUnit and MS Test together
-# Connect me via linkedin
+
+
+
+
-https://www.linkedin.com/in/zhiyong-fang-8066265/
+# Seperate Test and TestLibrary
+ - TestLibrary
+ - UnitTestProject