Skip to content

nuget updates - #779

Merged
StuartFerguson merged 7 commits into
mainfrom
task/#778_nuget_updates
Aug 18, 2026
Merged

StuartFerguson merged 7 commits into
mainfrom
task/#778_nuget_updates

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

No description provided.

@StuartFerguson StuartFerguson linked an issue Aug 18, 2026 that may be closed by this pull request
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Comment on lines +10 to +76
name: Build and Test Pull Requests
env:
ASPNETCORE_ENVIRONMENT: "Production"
ASPNETCORE_ENVIRONMENT: Production

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v6

- name: Echo vars
run: |
echo "CI is > ${CI}"
echo "HOME is > ${HOME}"
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x

- name: Restore Nuget Packages
run: dotnet restore FileProcessor.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }}
- name: Echo vars
run: |
echo "CI is > ${CI}"
echo "HOME is > ${HOME}"

- name: Build Code
run: dotnet build FileProcessor.sln --configuration Release
- name: Restore Nuget Packages
run: dotnet restore FileProcessor.sln --source ${{ secrets.PUBLICFEEDURL }} --source ${{ secrets.PRIVATEFEED_URL }}

- name: Run Unit Tests
run: |
echo "ASPNETCORE_ENVIRONMENT are > ${ASPNETCORE_ENVIRONMENT}"
dotnet test "FileProcessor.BusinessLogic.Tests\FileProcessor.BusinessLogic.Tests.csproj" --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=businesslogic-test-results.trx"
dotnet test "FileProcessor.FileAggregate.Tests\FileProcessor.FileAggregate.Tests.csproj" --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=fileaggregate-test-results.trx"
dotnet test "FileProcessor.FileImportLogAggregate.Tests\FileProcessor.FileImportLogAggregate.Tests.csproj" --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=fileimportlogaggregate-test-results.trx"
- name: Build Code
run: dotnet build FileProcessor.sln --configuration Release --no-restore

- name: Run Unit Tests
run: |
echo "ASPNETCORE_ENVIRONMENT are > ${ASPNETCORE_ENVIRONMENT}"
dotnet test "FileProcessor.BusinessLogic.Tests/FileProcessor.BusinessLogic.Tests.csproj" --configuration Release --no-build --verbosity normal -- --report-xunit-trx --report-xunit-trx-filename businesslogic-test-results.trx
dotnet test "FileProcessor.FileAggregate.Tests/FileProcessor.FileAggregate.Tests.csproj" --configuration Release --no-build --verbosity normal -- --report-xunit-trx --report-xunit-trx-filename fileaggregate-test-results.trx
dotnet test "FileProcessor.FileImportLogAggregate.Tests/FileProcessor.FileImportLogAggregate.Tests.csproj" --configuration Release --no-build --verbosity normal -- --report-xunit-trx --report-xunit-trx-filename fileimportlogaggregate-test-results.trx

- name: Build Docker Image
run: docker build . --file FileProcessor/Dockerfile --tag fileprocessor:latest

- name: Run Integration Tests
run: dotnet test "FileProcessor.IntegrationTests\FileProcessor.IntegrationTests.csproj" --filter Category=PRTest --configuration Release --no-build --verbosity normal --logger "trx;LogFileName=integration-test-results.trx"

- uses: actions/upload-artifact@v4.4.0
with:
name: tracelogs
path: /home/runner/trace/

- name: Publish test results
uses: dorny/test-reporter@v1
if: always()
with:
- name: Build Docker Image
run: docker build . --file FileProcessor/Dockerfile --tag fileprocessor:latest
- name: Run Integration Tests
run: dotnet test "FileProcessor.IntegrationTests/FileProcessor.IntegrationTests.csproj" --configuration Release --no-build --verbosity normal -- --filter "Category=PRTest" --test-parameter "NUnit.TestOutputXml=TestResults"

- uses: actions/upload-artifact@v4.4.0
with:
name: tracelogs
path: /home/runner/trace/

- name: Publish test results
uses: dorny/test-reporter@v1
if: always()
with:
name: Unit Test Results
path: '**/TestResults/*.trx'
reporter: dotnet-trx
fail-on-error: true

- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:

- name: Publish integration test results
uses: dorny/test-reporter@v1
if: always()
with:
name: Integration Test Results
path: '**/TestResults/*.xml'
reporter: nunit
fail-on-error: true

- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: '**/TestResults/*.trx'
retention-days: 30 No newline at end of file
path: '**/TestResults/*'
@StuartFerguson
StuartFerguson merged commit e2ec7b6 into main Aug 18, 2026
6 checks passed
@github-actions
github-actions Bot deleted the task/#778_nuget_updates branch October 18, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Shared Nugets

2 participants