diff --git a/.github/workflows/run_cargo_test.yml b/.github/workflows/run_cargo_test.yml new file mode 100644 index 0000000..1593326 --- /dev/null +++ b/.github/workflows/run_cargo_test.yml @@ -0,0 +1,23 @@ +name: Cargo Build & Test + +on: + pull_request: + +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 build --verbose + - run: cargo test --verbose diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_pytest.yml similarity index 100% rename from .github/workflows/run_tests.yml rename to .github/workflows/run_pytest.yml