[Unity] Add try-catch when tcp socket is processing data received #30
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: Codecov | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
cover: | |
runs-on: ubuntu-latest | |
env: | |
Builder: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore Application/BocchiTracker.UnitTests.sln | |
- name: Build unit Test | |
run: dotnet build --no-restore Application/BocchiTracker.UnitTests.sln | |
- name: Execute unit test | |
run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect:"XPlat Code Coverage" --no-build --verbosity normal Application/BocchiTracker.UnitTests.sln | |
- name: upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |