Skip to content

Commit

Permalink
build: changed config
Browse files Browse the repository at this point in the history
  • Loading branch information
m62624 committed Aug 25, 2023
1 parent 8c50aed commit a1eee29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,24 @@ jobs:
--workspace \
--exclude flexible_inspect_js \
--features export_to_other_languages,serde \
--engine llvm --out lcov --output-dir ./coverage/
--engine llvm --out xml --output-dir ./coverage/
# Шаг для копирования отчета о покрытии из контейнера
- name: Copy coverage report from container
run: |
docker cp $(docker ps -lq):/main_project/coverage/lcov.info .
docker cp $(docker ps -lq):/main_project/coverage/cobertura.xml .
# Шаг для загрузки отчета о покрытии в Codecov
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report-${{ github.run_id }}
path: lcov.info
path: cobertura.xml

# Шаг для отправки отчета о покрытии в Codecov
- name: Send coverage report to Codecov
uses: codecov/codecov-action@v2
with:
# fail_ci_if_error: true
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
file: cobertura.xml
verbose: true

# only-wasm-tests:
Expand Down

0 comments on commit a1eee29

Please sign in to comment.