Disable sync test on ubuntu CI runners

They don't seem to have DNS or network configured during the tests.

Also make capitalisation of step names consistent.
This commit is contained in:
teor 2020-10-19 14:03:24 +10:00 committed by Deirdre Connolly
parent 1d35c5a0b9
commit 0343e28d3a
2 changed files with 9 additions and 2 deletions

View File

@ -22,9 +22,13 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: fetch
- name: install LLVM on Windows
- name: Install LLVM on Windows
if: matrix.os == 'windows-latest'
run: choco install llvm -y
- name: Skip network tests on Ubuntu
# Ubuntu runners don't have network or DNS configured during test steps
if: matrix.os == 'ubuntu-latest'
run: echo "ZEBRA_SKIP_NETWORK_TESTS=1" >> $GITHUB_ENV
- name: Run tests
env:
RUST_BACKTRACE: full
@ -67,7 +71,7 @@ jobs:
with:
toolchain: stable
override: true
- name: install LLVM on Windows
- name: Install LLVM on Windows
if: matrix.os == 'windows-latest'
run: choco install llvm -y
- name: cargo fetch

View File

@ -20,6 +20,9 @@ jobs:
with:
toolchain: stable
override: true
- name: Skip network tests on Ubuntu
# Ubuntu runners don't have network or DNS configured during test steps
run: echo "ZEBRA_SKIP_NETWORK_TESTS=1" >> $GITHUB_ENV
- name: Run cargo-tarpaulin
uses: actions-rs/tarpaulin@v0.1
with: