From 1d99869e91eee22941740e08db624a41cb5e5788 Mon Sep 17 00:00:00 2001 From: Maciej Skrzypkowski Date: Thu, 20 Jun 2024 11:00:09 +0200 Subject: [PATCH] Create node_tests.yml cargo build and test for the rust part of the project --- .github/workflows/node_tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/node_tests.yml diff --git a/.github/workflows/node_tests.yml b/.github/workflows/node_tests.yml new file mode 100644 index 0000000..000bb2c --- /dev/null +++ b/.github/workflows/node_tests.yml @@ -0,0 +1,22 @@ +name: Rust + +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