From 96eec57951f580924a98892f76771d4ea6ebc1d5 Mon Sep 17 00:00:00 2001 From: daladim Date: Wed, 10 Nov 2021 22:52:47 +0100 Subject: [PATCH] Added a github actions file --- .github/workflows/rust.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..b867838 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,24 @@ +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@v2 + - name: Build + run: cargo build --verbose + - name: Run regular tests + run: cargo test --verbose + - name: Run specific integration tests + run: cargo test --verbose --features=integration_tests