+
Skip to content

Update code documentation regarding the "frame" parameter for rendering pipelines #1637

Update code documentation regarding the "frame" parameter for rendering pipelines

Update code documentation regarding the "frame" parameter for rendering pipelines #1637

Workflow file for this run

name: build
on:
push:
branches:
- development
pull_request:
branches:
- development
workflow_dispatch:
jobs:
tests:
runs-on: ${{ matrix.os.ver }}
strategy:
fail-fast: false
matrix:
os: [ { name: Windows, ver: windows-latest } ]
frameworks: [
{ name: ".NET Framework 4.6.2", common: "net462", win: "net462", coverage: "" },
{ name: ".NET 6.0", common: "net6.0", win: "net6.0-windows", coverage: '' },
{ name: ".NET 8.0", common: "net8.0", win: "net8.0-windows", coverage: '--collect:"XPlat Code Coverage" --settings coverlet.runsettings' }
]
name: ${{ matrix.os.name }} (${{ matrix.frameworks.name }})
steps:
- uses: actions/checkout@v4
- name: Test FO-DICOM.Tests
run: dotnet test ./Tests/FO-DICOM.Tests/FO-DICOM.Tests.csproj --configuration Release --framework ${{ matrix.frameworks.common }} --blame --runtime win-x64 --logger:"trx;LogFileName=.\results${{ matrix.frameworks.common }}.xml" ${{ matrix.frameworks.coverage }}
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-v5-${{ matrix.frameworks.common }}.xml
path: ./Tests/FO-DICOM.Tests/TestResults/results${{ matrix.frameworks.common }}.xml
- name: Test FO-DICOM.Tests.Windows
run: dotnet test ./Tests/FO-DICOM.Tests.Windows/FO-DICOM.Tests.Windows.csproj --configuration Release --framework ${{ matrix.frameworks.win }} --blame --runtime win-x64 --logger:"trx;LogFileName=.\results-win-${{ matrix.frameworks.common }}.xml" ${{ matrix.frameworks.coverage }}
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-v5-${{ matrix.frameworks.win }}.xml
path: ./Tests/FO-DICOM.Tests/TestResults/results-win-${{ matrix.frameworks.common }}.xml
- name: Upload code coverage
if: matrix.frameworks.coverage != ''
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
benchmarks:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Build FO-DICOM..Benchmark
run: dotnet build ./Tests/FO-DICOM.Benchmark/FO-DICOM.Benchmark.csproj --configuration Release --framework net8.0
- name: run benchmarks
run: ./Tests/FO-DICOM.Benchmark/bin/Release/net8.0/fo-dicom.Benchmark.exe
- name: Upload benchmark log
uses: actions/upload-artifact@v4
with:
name: benchmark
path: |
./BenchmarkDotNet.Artifacts/
./BenchmarkDotNet.Artifacts/results/
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载