Skip to content

Commit

Permalink
github: Fix Codecov build name on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
saprykin committed Sep 24, 2023
1 parent 524636a commit 57932be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,16 @@ jobs:
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install lcov
echo "CODECOV_OS=linux" >> ${GITHUB_ENV}
elif [ "$RUNNER_OS" == "macOS" ]; then
brew update
brew install lcov
echo "CODECOV_OS=macos" >> ${GITHUB_ENV}
else
echo "Unknown operating system of runner"
exit 1
fi
pip install codecov-cli
echo "CODECOV_OS=${RUNNER_OS,,}" >> ${GITHUB_ENV}
- name: coverage-run
if: ${{ success() && startsWith(matrix.CC, 'gcc') }}
run: |
Expand Down

0 comments on commit 57932be

Please sign in to comment.