Skip to content

build(deps): bump coverlet.collector from 6.0.2 to 6.0.3 in /csharp/PhoneNumbers.Extensions.Test in the phonenumbers_extensions_test_minor_patch_updates group #87

build(deps): bump coverlet.collector from 6.0.2 to 6.0.3 in /csharp/PhoneNumbers.Extensions.Test in the phonenumbers_extensions_test_minor_patch_updates group

build(deps): bump coverlet.collector from 6.0.2 to 6.0.3 in /csharp/PhoneNumbers.Extensions.Test in the phonenumbers_extensions_test_minor_patch_updates group #87

name: build_and_run_unit_tests_linux
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build_and_run_unit_tests_linux:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
- name: Add zip files required for running tests
run: |
(cd resources/geocoding; zip -r ../../resources/geocoding.zip *)
(cd resources/test/geocoding; zip -r ../../../resources/test/testgeocoding.zip *)
- name: Restore dependencies
run: dotnet restore
working-directory: ./csharp
- name: Build solution
run: dotnet build --no-restore
working-directory: ./csharp
- name: Test solution targeting dotnet9.0 only
run: dotnet test --no-build --verbosity normal -p:TargetFrameworks=net9.0
working-directory: ./csharp