Support configuring SignalR and use CQRS JSON serialization options by default #91
Workflow file for this run
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: Funnel in µsvc tests | |
| on: | |
| push: | |
| branches: [main] | |
| tags-ignore: ["*-v*"] | |
| paths: | |
| - "publisher/src/Funnel/**" | |
| - "!publisher/src/Funnel/**/*.md" | |
| - "publisher/funnel_test_cluster/**" | |
| - "!publisher/funnel_test_cluster/**/*.md" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "publisher/src/Funnel/**" | |
| - "!publisher/src/Funnel/**/*.md" | |
| - "publisher/funnel_test_cluster/**" | |
| - "!publisher/funnel_test_cluster/**/*.md" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| setup-cluster-and-test: | |
| name: Test Funnel on cluster with multiple scaled services | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./publisher | |
| env: | |
| DOTNET_VERSION: 10.0 | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| WAIT_TIMEOUT: 600 | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: Setup Tilt | |
| uses: yokawasa/action-setup-kube-tools@v0.13.1 | |
| with: | |
| tilt: v0.36.0 | |
| setup-tools: | | |
| tilt | |
| - name: Create test cluster | |
| uses: AbsaOSS/k3d-action@v2 | |
| with: | |
| cluster-name: testapp | |
| args: --config=publisher/funnel_test_cluster/k3d.yaml | |
| - name: Make the script files executable | |
| run: chmod +x funnel_test_cluster/subst_tpl_envs.sh funnel_test_cluster/run-tests.sh | |
| - name: Run tests | |
| run: ./funnel_test_cluster/run-tests.sh ci | |
| - name: Upload test logs on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: funnel-test-logs | |
| path: | | |
| publisher/funnel_test_cluster/test-logs/ | |
| publisher/funnel_test_cluster/snapshot.json | |
| retention-days: 7 |