File tree Expand file tree Collapse file tree 1 file changed +20
-10
lines changed
Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change 3737 with :
3838 command : check
3939 args : --workspace --all-targets --all --no-default-features
40- - name : Install cargo-llvm-cov
41- uses : taiki-e/install-action@cargo-llvm-cov
42- - name : Generate code coverage
43- run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
44- - name : Upload coverage to Codecov
45- uses : codecov/codecov-action@v3
46- with :
47- token : ${{ secrets.CODECOV_TOKEN }}
48- files : lcov.info
49- fail_ci_if_error : true
5040
5141 linter :
5242 name : clippy-check
9383 uses : ibiqlik/action-yamllint@v3
9484 with :
9585 config_file : .yamllint.yml
86+
87+ coverage :
88+ if : github.actor != 'dependabot[bot]' && !( github.event_name == 'pull_request' && startsWith(github.base_ref, 'bump-meilisearch-v') )
89+ runs-on : ubuntu-latest
90+ needs : integration_tests
91+ name : Code Coverage
92+ steps :
93+ - uses : actions/checkout@v4
94+ - name : Meilisearch (latest version) setup with Docker
95+ run : docker run -d -p 7700:7700 getmeili/meilisearch:latest meilisearch --no-analytics --master-key=masterKey
96+ - name : Install cargo-llvm-cov
97+ uses : taiki-e/install-action@cargo-llvm-cov
98+ - name : Generate code coverage
99+ run : cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
100+ - name : Upload coverage to Codecov
101+ uses : codecov/codecov-action@v3
102+ with :
103+ token : ${{ secrets.CODECOV_TOKEN }}
104+ files : lcov.info
105+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments