chore: update api workflow to account for presence of console projects

This commit is contained in:
Stevan Freeborn
2025-03-26 23:53:47 -05:00
parent b4d00afe7a
commit f2b80a1e61
+7 -5
View File
@@ -23,8 +23,10 @@ jobs:
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@v4
with: with:
dotnet-version: 9.x.x dotnet-version: 9.x.x
- name: Format project - name: Format projects
run: dotnet format --verbosity normal run: |
dotnet format ./AltGen.API/AltGen.API.csproj --verbosity normal
dotnet format ./AltGen.API.Tests/AltGen.API.Tests.csproj --verbosity normal
- name: Commit Changes - name: Commit Changes
run: | run: |
git config user.name "GitHub Actions" git config user.name "GitHub Actions"
@@ -48,9 +50,9 @@ jobs:
with: with:
dotnet-version: 9.x.x dotnet-version: 9.x.x
- name: Restore dependencies - name: Restore dependencies
run: dotnet restore run: dotnet restore ./AltGen.API.Tests/AltGen.API.Tests.csproj
- name: Build project - name: Build project
run: dotnet build --no-restore run: dotnet build ./AltGen.API.Tests/AltGen.API.Tests.csproj --no-restore
- name: Test project - name: Test project
run: dotnet test --filter FullyQualifiedName!~PromptEvaluation run: dotnet test ./AltGen.API.Tests/AltGen.API.Tests.csproj --filter FullyQualifiedName!~PromptEvaluation