Skip to content

Commit

Permalink
github: correct codecov installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dimmus committed Sep 14, 2023
1 parent 3348039 commit 0510f31
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ jobs:
# PYTHON: '3.10'
steps:
- uses: actions/checkout@master
- name: install dependencies
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y autopoint meson ninja-build gettext libunwind-dev libefl-all-dev libeet1 libeet-bin
sudo apt-get install -y check
- name: Setup Python
- name: Setup python
uses: actions/setup-python@master
# with:
# python-version: 3.10
- name: project setup (meson)
- name: Install coverage
run: pip install coverage
- name: Setup project (meson)
run: meson setup . build
- name: project build (ninja)
- name: Buil project (ninja)
run: ninja -C build
- name: generate coverage report
run: |
pip install coverage|
ninja -C build coverage
- name: upload to codecov
- name: Generate coverage report
run: ninja -C build coverage
- name: Upload to Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 0510f31

Please sign in to comment.