diff --git a/.github/workflows/interop.yml b/.github/workflows/interop.yml new file mode 100644 index 0000000..b933607 --- /dev/null +++ b/.github/workflows/interop.yml @@ -0,0 +1,19 @@ +name: interop +on: [push] +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest] + rust: [nightly] + + steps: + - uses: hecrj/setup-rust-action@master + with: + rust-version: ${{ matrix.rust }} + - uses: actions/checkout@master + - name: Run interop tests + run: ./tonic-interop/test.sh + - name: Run interop tests with tls + run: ./tonic-interop/test.sh --use_tls diff --git a/.github/workflows/rust.yml b/.github/workflows/test.yml similarity index 73% rename from .github/workflows/rust.yml rename to .github/workflows/test.yml index 1f7dc1b..8ac0dea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,11 @@ -name: Tonic gRPC +name: test on: [push] jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macOS-latest] + os: [ubuntu-latest] rust: [nightly] steps: @@ -23,7 +23,3 @@ jobs: run: cargo check --all --no-default-features - name: Run tests run: cargo test --all - - name: Run interop tests - run: ./tonic-interop/test.sh - - name: Run interop tests with tls - run: ./tonic-interop/test.sh --use_tls