Merge pull request #6785 from MikeMcQuaid/tests-linux
workflows/tests: tweak behaviour by OS.
This commit is contained in:
commit
b89ec5533b
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
@ -56,10 +56,15 @@ jobs:
|
||||
export HOMEBREW_CI_BRANCH="$HEAD_GITHUB_REF"
|
||||
export HOMEBREW_GITHUB_REPOSITORY="$GITHUB_REPOSITORY"
|
||||
|
||||
export PATH="/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
|
||||
brew tests --no-compat --online
|
||||
brew tests --generic --online
|
||||
brew tests --online --coverage
|
||||
# don't bother running all tests on both platforms (for speed)
|
||||
if [ "$RUNNER_OS" = "Linux" ]; then
|
||||
export PATH="/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin"
|
||||
brew tests --no-compat --online
|
||||
brew tests --generic --online
|
||||
brew tests --online
|
||||
else
|
||||
brew tests --online --coverage
|
||||
fi
|
||||
env:
|
||||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user