Skip to content

Merge pull request #10 from romanett/dotnet82 #32

Merge pull request #10 from romanett/dotnet82

Merge pull request #10 from romanett/dotnet82 #32

Workflow file for this run

# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Test
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore GDSwithREST.sln
- name: Build
run: dotnet build --no-restore GDSwithREST.sln
- name: Test
run: dotnet test --no-build --verbosity normal GDSwithRest.Tests/GDSwithRest.Tests.csproj --collect:"XPlat Code Coverage"
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}