Change skip network test name and comments

This commit is contained in:
Alfredo Garcia 2021-02-15 09:41:21 -03:00 committed by Deirdre Connolly
parent 9056435942
commit f85006a798
1 changed files with 5 additions and 4 deletions

View File

@ -27,10 +27,11 @@ jobs:
- name: Install LLVM on Windows
if: matrix.os == 'windows-latest'
run: choco install llvm -y
- name: Skip network tests on Ubuntu and Windows
# Ubuntu runners don't have network or DNS configured during test steps
# Windows runners have an unreliable network
if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest'
- name: Run network tests only on macOS
# Only macOS runners have all network capabilities:
# https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#cloud-hosts-for-github-hosted-runners
# Tests that only check launch behaviour or local port binding are not skipped in any platform.
if: matrix.os != 'macOS-latest'
run: echo "ZEBRA_SKIP_NETWORK_TESTS=1" >> $GITHUB_ENV
- name: Run tests
env: