Skip to content

Commit

Permalink
Merge branch 'main' into support-long-event-source-names
Browse files Browse the repository at this point in the history
  • Loading branch information
utpilla authored Nov 11, 2022
2 parents 10f2116 + 60f9941 commit 472415f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 71 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# IMPORTANT: This workflow MUST use the same 'name' as the non -md workflow.

name: Linux
name: Build

on:
pull_request:
Expand All @@ -17,9 +17,5 @@ jobs:
build-test:
runs-on: ubuntu-latest

strategy:
matrix:
version: [netcoreapp3.1,net6.0]

steps:
- run: 'echo "No build required"'
15 changes: 10 additions & 5 deletions .github/workflows/windows-ci.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows
name: Build

on:
push:
Expand All @@ -12,13 +12,18 @@ on:

jobs:
build-test:
runs-on: windows-latest


strategy:
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
matrix:
version: [net462,netcoreapp3.1,net6.0]
os: [ windows-latest, ubuntu-latest ]
version: [ net462, netcoreapp3.1, net6.0 ]
exclude:
- os: ubuntu-latest
version: net462

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

Expand All @@ -29,4 +34,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 --logger:"console;verbosity=detailed"
run: dotnet test **/bin/**/${{ matrix.version }}/*Tests.dll --configuration Release --no-build --logger:"console;verbosity=detailed"
32 changes: 0 additions & 32 deletions .github/workflows/linux-ci.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/windows-ci-md.yml

This file was deleted.

6 changes: 2 additions & 4 deletions opentelemetry-dotnet-contrib.sln
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
ProjectSection(SolutionItems) = preProject
.github\workflows\assign-reviewers.yml = .github\workflows\assign-reviewers.yml
.github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml
.github\workflows\ci-md.yml = .github\workflows\ci-md.yml
.github\workflows\ci.yml = .github\workflows\ci.yml
.github\workflows\dotnet-core-cov.yml = .github\workflows\dotnet-core-cov.yml
.github\workflows\dotnet-format-md.yml = .github\workflows\dotnet-format-md.yml
.github\workflows\dotnet-format.yml = .github\workflows\dotnet-format.yml
.github\workflows\integration-md.yml = .github\workflows\integration-md.yml
.github\workflows\integration.yml = .github\workflows\integration.yml
.github\workflows\linux-ci-md.yml = .github\workflows\linux-ci-md.yml
.github\workflows\linux-ci.yml = .github\workflows\linux-ci.yml
.github\workflows\markdownlint.yml = .github\workflows\markdownlint.yml
.github\workflows\package-Exporter.Geneva.yml = .github\workflows\package-Exporter.Geneva.yml
.github\workflows\package-Exporter.Instana.yml = .github\workflows\package-Exporter.Instana.yml
Expand Down Expand Up @@ -63,8 +63,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\package-Instrumentation.Wcf.yml = .github\workflows\package-Instrumentation.Wcf.yml
.github\workflows\sanitycheck.yml = .github\workflows\sanitycheck.yml
.github\workflows\stale.yml = .github\workflows\stale.yml
.github\workflows\windows-ci-md.yml = .github\workflows\windows-ci-md.yml
.github\workflows\windows-ci.yml = .github\workflows\windows-ci.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{824BD1DE-3FA8-4FE0-823A-FD365EAC78AF}"
Expand Down

0 comments on commit 472415f

Please sign in to comment.