Skip to content

use InternalsVisibleTo msbuild item #472

use InternalsVisibleTo msbuild item

use InternalsVisibleTo msbuild item #472

Workflow file for this run

name: main build
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@230611dbd0eb52da1e1f4f7bc8bb0c3a339fc8b7
- name: Install Dotnet
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
with:
dotnet-version: '8.0.x'
- name: Dotnet Installation Info
run: dotnet --info
- name: Build
run: dotnet build
- name: Test
run: dotnet test --no-build --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Report Code Coverage
if: matrix.platform == 'windows-latest' # only generate and upload code coverage once
uses: codecov/codecov-action@260aa3b4b2f265b8578bc0e721e33ebf8ff53313
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: CSharpRepl.Tests/coverage.opencover.xml