From ceba8d28b9285eb77f5c8944a4b88502d97f0dad Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 7 Jun 2024 09:34:55 +0200 Subject: [PATCH] build: add GitHub action to run tests --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..099593c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: "Run Tests" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose \ No newline at end of file