Skip to content

Commit

Permalink
Update CI flow.
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Ma <klausm@nvidia.com>
  • Loading branch information
k82cn committed Feb 12, 2024
1 parent d5771a3 commit 8040dcc
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Chariot CI
on: [push, pull_request]
env:
CLICOLOR_FORCE: 1
jobs:
ci:
name: Unit Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
rust: [stable]
os: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make
- name: Install gRPC
run: |
sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Cargo test
run: |
cargo make test

0 comments on commit 8040dcc

Please sign in to comment.