Create ci unit tests #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, Lint and Unit Tests for Momoka RUST | |
on: | |
pull_request: | |
types: [labeled, opened, synchronize, unlabeled] | |
# Run only for the momoka-rs directory | |
paths: | |
- 'momoka-rs/**' | |
jobs: | |
build-lint-test: | |
name: Build-Lint-Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: cd momoka-rs && cargo build | |
- name: Run the unit tests | |
run: cd momoka-rs && cargo test |