From f47582361a69eef50b937092c9237485855b1267 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Fri, 19 Nov 2021 22:50:11 +0100 Subject: [PATCH] ci: install lcov --- .github/workflows/coveralls.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index b9608e0..f82e36c 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -15,7 +15,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: 'Download artifacts' + - name: Setup Dependencies + env: + DEBIAN_FRONTEND: noninteractive + run: | + sudo apt-get update + sudo apt-get install -y lcov + + - name: Download Artifacts uses: actions/github-script@v3.1.0 with: script: | @@ -36,10 +43,10 @@ jobs: fs.writeFileSync('${{github.workspace}}/' + artifact.name + '.zip', Buffer.from(download.data)); } - - name: Unpack artifacts + - name: Unpack Artifacts run: | for file in *.zip; do - unzip "$file" -d ${file%.zip} + unzip "$file" -d "${file%.zip}" done - name: Generate Coverage