Skip to content

Commit

Permalink
Trust dev certs on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
IhateTrains committed Mar 3, 2024
1 parent 67918e5 commit 72f40ec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,11 @@ jobs:

- name: "Run tests"
working-directory: commonItems.UnitTests
run: dotnet test
run: |
# Prevent "Interop+AppleCrypto+SslException : bad protocol version" on macOS
if [ $RUNNER_OS = 'macOS' ]; then
dotnet dev-certs https
dotnet dev-certs https --trust
fi
dotnet test

0 comments on commit 72f40ec

Please sign in to comment.