From 6099ebcece8b70a4fa354137c693447990eb6cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20L=C3=A4ufer?= Date: Thu, 8 Aug 2024 16:52:51 -0400 Subject: [PATCH] enable CI --- .github/workflows/test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3bc87cd --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +name: patron tests + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + tests: + name: Unit Tests + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + - beta + - nightly + + steps: + - name: Update Rust to ${{ matrix.toolchain }} + run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose +