Skip to content

Commit

Permalink
Install graphviz when testing natively
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhoefler committed Sep 26, 2020
1 parent 6fce7ba commit f9757a7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,13 @@ jobs:
- name: Build
run: go build

- name: Run the binary on Mac
- name: Install graphviz on macOS
if: runner.os == 'macOS'
run: cd example && ../cloudbuildgraph
run: apt-get install -y --no-install-recommends graphviz

- name: Run the binary on Windows
- name: Install graphviz on Windows
if: runner.os == 'Windows'
run: cp cloudbuildgraph.exe example && cd example && cloudbuildgraph.exe
run: choco install graphviz

- name: Run the binary
run: cd example && ../cloudbuildgraph

0 comments on commit f9757a7

Please sign in to comment.