File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898 fi
9999 done
100100
101- - name : Run Tests
102- env :
103- LD_LIBRARY_PATH : /usr/lib/x86_64-linux-gnu:/usr/local/lib
104- run : |
105- echo "Running tests for QRCoder.Core.sln"
106- dotnet test QRCoder.Core.Tests/ \
107- --configuration Release \
108- --logger "trx;LogFileName=test-results.trx" \
109- --results-directory TestResults \
110- --collect:"XPlat Code Coverage" \
111- --verbosity normal \
112- --framework net10.0
113-
114- - name : Upload Test Results
115- uses : actions/upload-artifact@v4
116- if : always()
117- with :
118- name : test-results-qrcoder
119- path : |
120- TestResults/**/*.trx
121- TestResults/**/*.coverage
122- retention-days : 7
123-
124- - name : Upload Coverage Reports
125- uses : actions/upload-artifact@v4
126- if : always()
127- with :
128- name : coverage-qrcoder
129- path : TestResults/**/coverage.*
130- retention-days : 7
131-
132101 # Build and Test on Windows (.NET Framework)
133102 build-windows :
134103 name : Build QRCoder.Core (Windows)
Original file line number Diff line number Diff line change 3333 # Pre-publish Validation
3434 validate-publish :
3535 name : 🔍 Validate Publish Readiness
36- runs-on : ubuntu -latest
36+ runs-on : windows -latest
3737 if : github.event.inputs.confirm_publish == 'yes' || github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v')
3838
3939 steps :
7777 # Publish NuGet Packages
7878 publish-nuget :
7979 name : 📦 Publish NuGet Packages
80- runs-on : ubuntu -latest
80+ runs-on : windows -latest
8181 needs : validate-publish
8282 environment : production
8383
You can’t perform that action at this time.
0 commit comments