From ad9e6035d759defa55c663415c9331fc98148f04 Mon Sep 17 00:00:00 2001 From: anupsv Date: Mon, 20 May 2024 20:43:12 -0700 Subject: [PATCH] Update and rename converage.yml to rust.yml --- .github/workflows/converage.yml | 23 ----------------------- .github/workflows/rust.yml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/converage.yml create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/converage.yml b/.github/workflows/converage.yml deleted file mode 100644 index b12b171..0000000 --- a/.github/workflows/converage.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: coverage - -on: [push] -jobs: - test: - name: coverage - runs-on: ubuntu-latest - container: - image: xd009642/tarpaulin:develop-nightly - options: --security-opt seccomp=unconfined - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Generate code coverage - run: | - cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml - - - name: Upload to codecov.io - uses: codecov/codecov-action@v2 - with: - # token: ${{secrets.CODECOV_TOKEN}} # not required for public repos - fail_ci_if_error: true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..000bb2c --- /dev/null +++ b/.github/workflows/rust.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