diff --git a/.github/workflows/dotnet-core-linux.yml b/.github/workflows/dotnet-core-linux.yml index 2aa7e6ce9..29e6ba849 100644 --- a/.github/workflows/dotnet-core-linux.yml +++ b/.github/workflows/dotnet-core-linux.yml @@ -39,4 +39,4 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test ${{ matrix.version }} - run: dotnet test **/bin/**/${{ matrix.version }}/*.Tests.dll --configuration Release --no-build + run: dotnet test **/bin/**/${{ matrix.version }}/*.Tests.dll --configuration Release --no-build --logger:"console;verbosity=detailed" diff --git a/.github/workflows/dotnet-core-win.yml b/.github/workflows/dotnet-core-win.yml index e8db23fc5..1afbb5d2c 100644 --- a/.github/workflows/dotnet-core-win.yml +++ b/.github/workflows/dotnet-core-win.yml @@ -29,4 +29,4 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Test ${{ matrix.version }} - run: dotnet test **\bin\**\${{ matrix.version }}\*Tests.dll --configuration Release --no-build + run: dotnet test **\bin\**\${{ matrix.version }}\*Tests.dll --configuration Release --no-build --logger:"console;verbosity=detailed" diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 1b716598c..6fd6d7c0d 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -5,40 +5,24 @@ on: branches: [ master ] paths-ignore: - '**.md' - pull_request: - branches: [ master ] - paths-ignore: - - '**.md' jobs: - build-test-pack: + build-pack: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-latest] + os: [windows-latest] steps: - uses: actions/checkout@v2 with: fetch-depth: 0 # fetching all - - name: Setup .NET Core 2.1 - if: ${{ matrix.os == 'ubuntu-latest' }} - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 2.1.807 - - name: Setup .NET Core 3.1 uses: actions/setup-dotnet@v1 with: - dotnet-version: 3.1.301 - - # For linux, we have to apply a workaround to enable both dotnet versions at same time - - name: .net SxS - if: ${{ matrix.os == 'ubuntu-latest' }} - run: | - rsync -a ${DOTNET_ROOT/3.1.301/2.1.807}/* $DOTNET_ROOT/ + dotnet-version: 3.1.x - name: Install dependencies run: dotnet restore @@ -46,9 +30,6 @@ jobs: - name: dotnet build run: dotnet build --configuration Release --no-restore -p:Deterministic=true - - name: dotnet test - run: dotnet test -p:CollectCoverage=false --configuration Release --no-build --logger:"console;verbosity=detailed" - - name: dotnet pack run: dotnet pack OpenTelemetry.proj --configuration Release --no-build