Skip to content

IHS-68 CategorizedNewImage model (#70) #10

IHS-68 CategorizedNewImage model (#70)

IHS-68 CategorizedNewImage model (#70) #10

Workflow file for this run

name: Upload test coverage report to codecov
on:
push:
branches: [ "master" ]
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore /p:ContinuousIntegrationBuild=true
- name: Test
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
directory: ImageHosting.Storage.UnitTests
file: coverage.opencover.xml
flags: unittests
token: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}