Skip to content

Commit

Permalink
ci/Add filters (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 authored Oct 24, 2023
1 parent 9add424 commit aa1f3e3
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,26 @@ on:
push:
branches:
- main
paths:
- '**.rs'
- '**.sh'
- '**.ps1'
- '**.yml'
- 'Cargo.toml'
- '!**.md'
- '!LICENSE-APACHE'
- '!LICENSE-MIT'
pull_request:
types: [opened, synchronize]
paths:
- '**.rs'
- '**.sh'
- '**.ps1'
- '**.yml'
- 'Cargo.toml'
- '!**.md'
- '!LICENSE-APACHE'
- '!LICENSE-MIT'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -95,7 +113,8 @@ jobs:
if: matrix.rust == 'stable' && matrix.test == 'std'
run: |
grcov . --binary-path ./target/debug/ -s . -t lcov --branch \
--ignore-not-existing --ignore "/*" --ignore "../*" -o lcov.info
--ignore-not-existing --ignore "/*" --ignore "../*" \
--ignore "xtask/*" --ignore "examples/*" -o lcov.info
- name: Codecov upload
if: matrix.rust == 'stable' && matrix.test == 'std'
Expand Down

0 comments on commit aa1f3e3

Please sign in to comment.