Bump torch from 2.1.2 to 2.2.0 in /Tunny/Lib #99
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: test and coverage | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "7.0.x" | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build | |
- name: Test with the dotnet CLI | |
run: dotnet test --collect:"XPlat Code Coverage" | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
fail_ci_if_error: true | |
token: ${{secrets.CODECOV_TOKEN}} |