Skip to content

Commit

Permalink
ci: attempt to fix random AppDomain unloads in CI on macos/mono by di…
Browse files Browse the repository at this point in the history
…sabling AppDomain altogether. (#206)
  • Loading branch information
skwasjer authored Oct 2, 2024
1 parent 716bba1 commit 0baaa3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
name: build

# Run all tests
- run: dotnet test --no-restore --no-build -c Release
- run: dotnet test --no-restore --no-build -c Release -- xUnit.AppDomain=denied

pack:
needs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ jobs:
run: |
dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /o:"$SONAR_ORG_KEY" /d:sonar.host.url=https://sonarcloud.io /d:sonar.token="$SONAR_TOKEN" /d:sonar.cs.opencover.reportsPaths="**/*opencover.xml" $SONAR_PR_ARGS
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByFile="test/**/*.cs"
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:ExcludeByFile="test/**/*.cs" -- xUnit.AppDomain=denied
dotnet sonarscanner end /d:sonar.token="$SONAR_TOKEN"

0 comments on commit 0baaa3e

Please sign in to comment.