Skip to content

Commit

Permalink
Disable sync test on ubuntu CI runners
Browse files Browse the repository at this point in the history
They don't seem to have DNS or network configured during the tests.

Also make capitalisation of step names consistent.
  • Loading branch information
teor2345 committed Oct 19, 2020
1 parent 2208702 commit 5dc0d46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 as needed
# Some 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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
with:
toolchain: stable
override: true
- name: Skip network tests as needed
# Some 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 cargo-tarpaulin
uses: actions-rs/[email protected]
with:
Expand Down

0 comments on commit 5dc0d46

Please sign in to comment.