Skip to content
Snippets Groups Projects
Unverified Commit a6c3ee02 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

workflows/tests: tweak behaviour by OS.

This should speed up Homebrew/brew testing by not running generic or
no-compat tests on macOS.
parent 9aa42f08
No related branches found
No related tags found
No related merge requests found
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment