From 002af4bccbe4d5184b7df398a784af0c41bb5686 Mon Sep 17 00:00:00 2001 From: Anthony MOI Date: Mon, 16 Mar 2020 10:31:08 -0400 Subject: [PATCH] Update Github actions for integration tests --- .github/workflows/rust.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 200a3fef..15d26700 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -56,7 +56,22 @@ jobs: args: --manifest-path ./tokenizers/Cargo.toml --all-targets --all-features -- -D warnings - name: Run Tests + if: matrix.os != 'windows-latest' + shell: bash + working-directory: ./tokenizers + run: make test + + # Skip integration tests for now on Windows + - name: Run lib Tests on Windows + if: matrix.os == 'windows-latest' uses: actions-rs/cargo@v1 with: command: test - args: --verbose --manifest-path ./tokenizers/Cargo.toml + args: --verbose --manifest-path ./tokenizers/Cargo.toml --lib + + - name: Run doc Tests on Windows + if: matrix.os == 'windows-latest' + uses: actions-rs/cargo@v1 + with: + command: test + args: --verbose --manifest-path ./tokenizers/Cargo.toml --doc