diff options
author | Orhun Parmaksız <orhunparmaksiz@gmail.com> | 2021-10-30 23:32:29 +0300 |
---|---|---|
committer | Orhun Parmaksız <orhunparmaksiz@gmail.com> | 2021-10-30 23:32:29 +0300 |
commit | d0242cfa0f239b867bb609363edad00510bbb884 (patch) | |
tree | 47ff2c2bce5e7a2fac67f43d2e294c60152dfded | |
parent | c5b7bce04e1afaf46515ae62fe06ad5cc4912b77 (diff) |
chore: Exclude tests and clippy check from specific targets
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c492bf..4675942 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,7 @@ jobs: args: --all -- --check - name: Check lints + if: matrix.TOOLCHAIN == 'stable' uses: actions-rs/cargo@v1 with: command: clippy @@ -66,11 +67,13 @@ jobs: args: --target ${{ matrix.TARGET }} - name: Run code coverage tool + if: matrix.TOOLCHAIN == 'stable' && matrix.TARGET == 'x86_64-unknown-linux-gnu' uses: actions-rs/tarpaulin@v0.1 with: args: "-v" - name: Upload reports to codecov.io + if: matrix.TOOLCHAIN == 'stable' && matrix.TARGET == 'x86_64-unknown-linux-gnu' uses: codecov/codecov-action@v1.0.7 with: token: ${{ secrets.CODECOV_TOKEN }} |