diff options
author | Kyohei Uto <kyohei.uto@algo-artis.com> | 2024-11-04 12:58:11 +0900 |
---|---|---|
committer | Kyohei Uto <kyohei.uto@algo-artis.com> | 2024-11-04 12:58:11 +0900 |
commit | 1adf5291445ce2e0e8f07a1b363e0bcf857e2712 (patch) | |
tree | 0d1ff3217fcb5b9e8ab72e6860fd5f668aef4067 | |
parent | 229737ae0fefe2ac9e045276453d5d78c918e38b (diff) |
Add ci_test.ymldevelop
-rw-r--r-- | .github/workflows/ci_test.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml new file mode 100644 index 0000000..430dda1 --- /dev/null +++ b/.github/workflows/ci_test.yml @@ -0,0 +1,27 @@ +name: cargo test + +on: + push: + branches-ignore: 'main' + paths-ignore: + - '*.md' + pull_request: + types: [opened, edited, reopened] + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Rust project - latest + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - beta + - nightly + steps: + - uses: actions/checkout@v4 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: cargo test --verbose |