Merge pull request #8100 from MikeMcQuaid/test-bot-only-formulae

workflows/tests: run brew test-bot --only-formulae.
This commit is contained in:
Mike McQuaid 2020-07-28 08:30:07 +01:00 committed by GitHub
commit ac0c04c0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,12 +181,12 @@ jobs:
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'
run: docker build -t brew --build-arg=version=16.04 . run: docker build -t brew --build-arg=version=16.04 .
- name: Run brew test-bot - name: Run brew test-bot --only-formulae --test-default-formula
run: | run: |
if [ "$RUNNER_OS" = "Linux" ]; then if [ "$RUNNER_OS" = "Linux" ]; then
docker run --rm brew brew test-bot docker run --rm brew brew test-bot --only-formulae --test-default-formula
else else
brew test-bot brew test-bot --only-formulae --test-default-formula
fi fi
- name: Deploy the Docker image to GitHub and Docker Hub - name: Deploy the Docker image to GitHub and Docker Hub