Skip to content

Commit

Permalink
Updated kcov to v43.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 7, 2025
1 parent 2ccaf46 commit 4a10087
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-scaffold.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ jobs:
cache: 'npm'
cache-dependency-path: tests/scaffold/package-lock.json

- name: Setup kcov
run: wget https://github.com/SimonKagstrom/kcov/releases/download/v42/kcov-amd64.tar.gz && tar -xf kcov-amd64.tar.gz && sudo mv ./usr/local/bin/kcov /usr/local/bin/kcov && kcov --version
- name: Install Kcov
run: |
KCOV_VERSION=v43 && \
sudo apt install -y git cmake g++ libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev binutils-dev && \
git clone https://github.com/SimonKagstrom/kcov.git && \
cd kcov && git checkout ${KCOV_VERSION} && mkdir build && cd build && \
cmake .. && make && sudo make install && \
kcov --version
- name: Install dependencies
run: npm --prefix=tests/scaffold ci
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/test-shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ jobs:
working-directory: tests/bats

- name: Install Kcov
run: wget https://github.com/SimonKagstrom/kcov/releases/download/v42/kcov-amd64.tar.gz && tar -xf kcov-amd64.tar.gz && sudo mv ./usr/local/bin/kcov /usr/local/bin/kcov && kcov --version
run: |
KCOV_VERSION=v43 && \
sudo apt install -y git cmake g++ libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev binutils-dev && \
git clone https://github.com/SimonKagstrom/kcov.git && \
cd kcov && git checkout ${KCOV_VERSION} && mkdir build && cd build && \
cmake .. && make && sudo make install && \
kcov --version
if: matrix.os == 'ubuntu-latest'

- name: Run Tests and Code Coverage on Ubuntu
Expand Down

0 comments on commit 4a10087

Please sign in to comment.