From bcebf62871731c38186785703f2169cf8d45b32e Mon Sep 17 00:00:00 2001 From: Amir Mohammadi Date: Tue, 12 Mar 2024 22:35:34 +0330 Subject: [PATCH] add test workflows --- .github/workflows/ci.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..b356ab2 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,19 @@ +name: CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: unit tests + run: cargo test --verbose