Skip to content

Commit

Permalink
ci: Run tui against an example HTML document in Windows jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlinden committed Nov 13, 2023
1 parent 9beb1f4 commit 7a438ff
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ jobs:
run: bazel build ... -c dbg
- name: Test
run: bazel test ... -c dbg
# TODO(robinlinden): This no longer runs in CI due to http://example.com
# being inaccessible.
# - name: Run
# run: bazel run browser:tui -c dbg
- name: Run
run: |
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >example.html
bazel run browser:tui -c dbg -- file:/$(PWD)/example.html
windows-clang-cl:
runs-on: windows-2022
Expand All @@ -216,9 +216,10 @@ jobs:
- run: echo "build --config clang-cl" >.bazelrc.local
- run: echo "build --disk_cache ~/.cache/bazel" >>.bazelrc.local
- run: bazel test ...
# TODO(robinlinden): This no longer runs in CI due to http://example.com
# being inaccessible.
# - run: bazel run browser:tui
- name: Run
run: |
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >example.html
bazel run browser:tui -- file:/$(PWD)/example.html
clang-format:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 7a438ff

Please sign in to comment.