chore(iast): fix grpc iast flaky tests #15244
Workflow file for this run
This file contains 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: Multiple OS tests | |
on: | |
push: | |
branches: | |
- main | |
- 'mq-working-branch**' | |
pull_request: | |
workflow_dispatch: {} | |
jobs: | |
multiple_os_tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
# Keep this in sync with hatch.toml | |
python-version: ["3.8", "3.10", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
# Include all history and tags | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1 | |
- name: Install latest stable toolchain and rustfmt | |
run: rustup update stable && rustup default stable && rustup component add rustfmt clippy | |
- name: Install hatch | |
uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install | |
with: | |
version: "1.12.0" | |
- name: Install coreutils for MacOS to get sha256sum | |
if: matrix.os == 'macos-latest' | |
run: brew install coreutils | |
- name: Install dependencies | |
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' | |
run: | | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt-get update | |
sudo apt-get install -y python3.13 python3.13-dev | |
- name: Run tests | |
run: hatch run +py=${{ matrix.python-version }} multiple_os_tests:test | |
finished: | |
name: Multiple OS Tests Finished | |
runs-on: ubuntu-latest | |
needs: multiple_os_tests | |
steps: | |
- name: True when successful | |
if: needs.multiple_os_tests.result == 'success' | |
run: exit 0 | |
- name: Fails if anything else failed | |
if: needs.multiple_os_tests.result != 'success' | |
run: exit 1 |