Check for --coverage
flag.
This commit is contained in:
parent
d404992676
commit
2c34167131
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -197,13 +197,15 @@ jobs:
|
||||
fi
|
||||
|
||||
if ${{ runner.os == 'macOS' }}; then
|
||||
# Set variables for coverage reporting.
|
||||
export HOMEBREW_CODECOV_TOKEN='3ea0364c-80ce-47a3-9fba-93a940d4b5d7'
|
||||
|
||||
# These cannot be queried at the macOS level on GitHub Actions.
|
||||
export HOMEBREW_LANGUAGES='en-GB'
|
||||
fi
|
||||
|
||||
if ${{ contains(matrix.test-flags, '--coverage') }}; then
|
||||
# Set variables for coverage reporting.
|
||||
export HOMEBREW_CODECOV_TOKEN='3ea0364c-80ce-47a3-9fba-93a940d4b5d7'
|
||||
fi
|
||||
|
||||
brew tests ${{ matrix.test-flags }}
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user