From 5b60b7c10faf2143a5c860140fa7cc89c30af1b0 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Tue, 3 Sep 2019 17:00:22 -0400 Subject: [PATCH 1/2] Create interop.yml --- .github/workflows/interop.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/interop.yml 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 From 3034e5c02d77a1e9543559d1e2e4aed3ae6fe6ba Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Tue, 3 Sep 2019 17:06:33 -0400 Subject: [PATCH 2/2] Update and rename rust.yml to test.yml --- .github/workflows/{rust.yml => test.yml} | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) rename .github/workflows/{rust.yml => test.yml} (73%) 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