Skip to content

Commit

Permalink
chore: add test CI
Browse files Browse the repository at this point in the history
Signed-off-by: i-zhen <[email protected]>
  • Loading branch information
i-zhen committed Dec 12, 2023
1 parent 0824d3d commit c983e9e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/smartir_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: SmartIR Build and Test CI

on: ["push", "pull_request"]

jobs:
smartir-build-test:
name: Test
runs-on: ubuntu-latest
container:
image: smartir/smart-ir-builder:main
steps:
- name: Check out code
uses: actions/checkout@v3
with:
submodules: "false"
# Prerequisite
- name: Code format check
working-directory: ./ir_cli
run: |
rustup default 1.67
make fmt-check
shell: bash
- name: e2e tests
working-directory: ./ir_cli
shell: bash
run: |
rustup default 1.67
make test

0 comments on commit c983e9e

Please sign in to comment.