Toppic search result reading #601
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: cd mzLib && dotnet restore | |
- name: Build | |
run: cd mzLib && dotnet build --no-restore | |
- name: Build (Test) | |
run: cd mzLib && dotnet build --no-restore ./Test/Test.csproj | |
- name: Build (TestFlashLFQ) | |
run: cd mzLib && dotnet build --no-restore ./TestFlashLFQ/TestFlashLFQ.csproj | |
- name: Add coverlet collector (Test) | |
run: cd mzLib && dotnet add Test/Test.csproj package coverlet.collector | |
- name: Add coverlet collector (TestFlashLFQ) | |
run: cd mzLib && dotnet add TestFlashLFQ/TestFlashLFQ.csproj package coverlet.collector | |
- name: Test | |
run: cd mzLib && dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" /p:CoverletOutputFormat=cobertura ./Test/Test.csproj | |
- name: TestFlashLFQ | |
run: cd mzLib && dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" /p:CoverletOutputFormat=cobertura ./TestFlashLFQ/TestFlashLFQ.csproj | |
- name: Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
verbose: true | |
files: mzLib/Test*/TestResults/*/coverage.cobertura.xml |