diff --git a/.github/workflows/build_and_run_unit_tests_linux.yml b/.github/workflows/build_and_run_unit_tests_linux.yml index 8d212e42..812a75fc 100644 --- a/.github/workflows/build_and_run_unit_tests_linux.yml +++ b/.github/workflows/build_and_run_unit_tests_linux.yml @@ -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: @@ -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 diff --git a/.github/workflows/build_and_run_unit_tests_windows.yml b/.github/workflows/build_and_run_unit_tests_windows.yml index a2e3d7b5..de97cda4 100644 --- a/.github/workflows/build_and_run_unit_tests_windows.yml +++ b/.github/workflows/build_and_run_unit_tests_windows.yml @@ -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: