fix: skip UPnP/firewall in test mode to fix flaky CI #303
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main, develop, opengl] | |
| paths: | |
| - "**/*.cpp" | |
| - "**/*.h" | |
| - "**/*.cs" | |
| - "**/*.csproj" | |
| - "**/CMakeLists.txt" | |
| - "**/CMakePresets.json" | |
| - "cmake/*.cmake" | |
| - ".github/workflows/*.yml" | |
| pull_request: | |
| branches: [main, develop, opengl] | |
| paths: | |
| - "**/*.cpp" | |
| - "**/*.h" | |
| - "**/*.cs" | |
| - "**/*.csproj" | |
| - "**/CMakeLists.txt" | |
| - "**/CMakePresets.json" | |
| - "cmake/*.cmake" | |
| - ".github/workflows/*.yml" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CI: true | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true | |
| DOTNET_NOLOGO: true | |
| jobs: | |
| format: | |
| name: Format Check | |
| uses: ./.github/workflows/format.yml | |
| linux: | |
| name: Linux Builds | |
| uses: ./.github/workflows/linux.yml | |
| secrets: inherit | |
| windows: | |
| name: Windows Builds | |
| uses: ./.github/workflows/windows.yml | |
| secrets: inherit |