Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/ci-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,37 +98,6 @@ jobs:
fi
done

- name: Run Tests
env:
LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu:/usr/local/lib
run: |
echo "Running tests for QRCoder.Core.sln"
dotnet test QRCoder.Core.Tests/ \
--configuration Release \
--logger "trx;LogFileName=test-results.trx" \
--results-directory TestResults \
--collect:"XPlat Code Coverage" \
--verbosity normal \
--framework net10.0

- name: Upload Test Results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results-qrcoder
path: |
TestResults/**/*.trx
TestResults/**/*.coverage
retention-days: 7

- name: Upload Coverage Reports
uses: actions/upload-artifact@v4
if: always()
with:
name: coverage-qrcoder
path: TestResults/**/coverage.*
retention-days: 7

# Build and Test on Windows (.NET Framework)
build-windows:
name: Build QRCoder.Core (Windows)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Pre-publish Validation
validate-publish:
name: 🔍 Validate Publish Readiness
runs-on: ubuntu-latest
runs-on: windows-latest
if: github.event.inputs.confirm_publish == 'yes' || github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v')

steps:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
# Publish NuGet Packages
publish-nuget:
name: 📦 Publish NuGet Packages
runs-on: ubuntu-latest
runs-on: windows-latest
needs: validate-publish
environment: production

Expand Down
Loading