feat(data-plane): add node-to-node header integrity check (#1609) #9
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
| # Copyright AGNTCY Contributors (https://github.com/agntcy) | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: ci-integration-tests | |
| on: | |
| push: | |
| paths: | |
| - 'tests/**' | |
| - 'data-plane/**' | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - 'tests/**' | |
| - 'data-plane/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Go | |
| uses: ./.github/actions/setup-go | |
| - name: Setup Rust | |
| uses: ./.github/actions/setup-rust | |
| with: | |
| workspace: ./data-plane | |
| - name: Setup Java | |
| uses: ./.github/actions/setup-java | |
| with: | |
| java-version: '21' | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 | |
| with: | |
| dotnet-version: "8.0.x" | |
| - name: Setup UV | |
| uses: ./.github/actions/setup-python | |
| with: | |
| uv-install: true | |
| - name: Run integration test suite | |
| working-directory: ./tests | |
| run: task tests:integration | |
| sessions-test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Rust | |
| uses: ./.github/actions/setup-rust | |
| with: | |
| workspace: ./data-plane | |
| - name: Run group communication integration test | |
| working-directory: ./data-plane/testing | |
| run: task test:group-session | |
| - name: Run point to point integration test | |
| working-directory: ./data-plane/testing | |
| run: task test:point-to-point-session |