From 04e0e40c22ea42a58ad43e4b15d855a1d8f63b22 Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Mon, 2 Oct 2023 21:49:15 +0900 Subject: [PATCH] add ci for rs --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..bbac4faa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Unit Test + +on: + push: + branches: [master] + pull_request: + branches: [master] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Run unit tests sample-03-rs + run: | + cd sample-03-rs + cargo test --verbose + - name: Run unit tests sample-04-rs + run: | + cd sample-04-rs + cargo test --verbose