From db629ad20b07afeedf261fb228f421ff28f9b358 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 11 Jun 2022 10:51:06 +0200 Subject: [PATCH] Add github actions Signed-off-by: trivernis --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..e638dac --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Run checks and tess +on: + workflow_dispatch: + push: + branches: [ main, develop ] + pull_request: + branches: [ main, develop ] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + if: ${{ !env.ACT }} + + - name: Check + run: cargo check --all-features + + - name: Lint + run: cargo clippy -- -D warnings + + - name: Test + run : cargo test --all-features \ No newline at end of file