Skip to content

Commit

Permalink
tonic-health bootstrap mark as ignored and run separately.
Browse files Browse the repository at this point in the history
  • Loading branch information
BratSinot committed Oct 28, 2022
1 parent 6fe9648 commit bb7b8d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v1
- name: Check fmt
run: cargo fmt -- --check
Expand Down Expand Up @@ -66,11 +66,13 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v1
- uses: actions/checkout@master
- name: Run tests
run: cargo test --all --all-features
- name: Run ignored tonic-health bootstrap test
run: cargo test --all-features --package tonic-health --test bootstrap bootstrap -- --ignored --exact

interop:
name: Interop Tests
Expand All @@ -93,7 +95,7 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@v1
- name: Run interop tests
run: ./interop/test.sh
Expand Down
1 change: 1 addition & 0 deletions tonic-health/tests/bootstrap.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::{path::PathBuf, process::Command};

#[ignore]
#[test]
fn bootstrap() {
let iface_files = &["proto/health.proto"];
Expand Down

0 comments on commit bb7b8d7

Please sign in to comment.