diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ce6eaaf3338e8f..4b2d851a81bac4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -737,6 +737,7 @@ jobs: id: macos-x86_64-tests os: macos-12 host: x86_64-apple-darwin16 + packages: None test_runner_extra: "--all --exclude feature_dbcrash" steps: @@ -747,11 +748,13 @@ jobs: - name: Setup Environment run: | - if [[ ${{ matrix.config.os }} = ubuntu* ]]; then - sudo apt-get install --no-install-recommends --no-upgrade -qq ${{ matrix.config.packages }} - fi - if [[ ${{ matrix.config.os }} = macos* ]]; then - brew install ${{ matrix.config.packages }} + if [[ ${{ matrix.config.packages != None ]]; then + if [[ ${{ matrix.config.os }} = ubuntu* ]]; then + sudo apt-get install --no-install-recommends --no-upgrade -qq ${{ matrix.config.packages }} + fi + if [[ ${{ matrix.config.os }} = macos* ]]; then + brew install ${{ matrix.config.packages }} + fi fi pip install pyzmq