From d7684b36abf5a1712dd5c6e1ab81504b704434d5 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 18 Nov 2020 19:11:08 +0100 Subject: Create rust.yml --- .github/workflows/rust.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/rust.yml (limited to '.github/workflows') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..fbd07bf --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,26 @@ +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 tests + run: cargo test --verbose + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} -- cgit v1.2.3-18-g5258