unit test fix bugs #22
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: .NET | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: ./FitFusion | |
- name: Build | |
run: dotnet build --no-restore | |
working-directory: ./FitFusion | |
test: | |
runs-on: ubuntu-latest | |
needs: build # Specify that the "test" job needs the "build" job to complete before running | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Test | |
run: dotnet test --no-build --verbosity normal --filter FullyQualifiedName~FitFusionTest | |
working-directory: ./FitFusion/FitFusionTest |