Skip to content

Commit

Permalink
Add ci_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyohei Uto committed Nov 4, 2024
1 parent 229737a commit 1adf529
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci_test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1adf529

Please sign in to comment.