Skip to content

Commit

Permalink
feat: update and ensure linux ci cd test build only run on dotnet 7 f…
Browse files Browse the repository at this point in the history
…ramework only
  • Loading branch information
wmundev committed Dec 30, 2023
1 parent 2e37452 commit 0a169e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build_and_run_unit_tests_linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: build_and_run_unit_tests_linux

on:
Expand Down Expand Up @@ -29,6 +26,6 @@ jobs:
- name: Build solution
run: dotnet build --no-restore
working-directory: ./csharp
- name: Test PhoneNumbers.Test project
run: dotnet test --no-build --verbosity normal
working-directory: ./csharp/PhoneNumbers.Test
- name: Test solution targeting dotnet7.0 only
run: dotnet test --no-build --verbosity normal -p:TargetFrameworks=net7.0
working-directory: ./csharp
3 changes: 0 additions & 3 deletions .github/workflows/build_and_run_unit_tests_windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: build_and_run_unit_tests_windows

on:
Expand Down

0 comments on commit 0a169e7

Please sign in to comment.