Skip to content

Fix unit test when providing issue object at finish step request #138

Fix unit test when providing issue object at finish step request

Fix unit test when providing issue object at finish step request #138

Workflow file for this run

name: CI
on:
- push
- workflow_dispatch
jobs:
Build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install CodeCov
run: dotnet tool install -g codecov.tool
- name: Build
run: dotnet build
- name: Pack
run: dotnet pack --property:PackageOutputPath=../../pkgs
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: pkgs
path: |
./pkgs/*.nupkg
./pkgs/*.snupkg
- name: Test
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=OpenCover /p:CoverletOutput=./Coverage.xml
- name: Publish Coverage
uses: codecov/codecov-action@v3
with:
files: '**/*/Coverage.*.xml'
Benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Benchmark
run: dotnet run -p test/ReportPortal.Shared.Benchmark -c Release