From dc3512e7aa7a1287e188e4965c7e325e5f321b1b Mon Sep 17 00:00:00 2001 From: Allan Clark Date: Fri, 3 Jan 2025 00:13:42 -0800 Subject: [PATCH] fix: correct .bazelignore per meteorcloudy --- .bazelignore | 8 ++++++-- .github/workflows/bazel.yaml | 13 ++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.bazelignore b/.bazelignore index 4ac6f4f..1a33b1f 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,3 +1,7 @@ -# ignore the examples which are used to document suggested usage, validate this project, and -- in future -- repro issues -examples/** +# ignore the examples which are used to document suggested usage, validate this project, +# and -- in future -- repro issues that may arise. Per meteorcloudy, .bazelignore is transitory, +# but its own format, not gitignore format +docs +bazel-* +examples diff --git a/.github/workflows/bazel.yaml b/.github/workflows/bazel.yaml index 00d4a5d..3935654 100644 --- a/.github/workflows/bazel.yaml +++ b/.github/workflows/bazel.yaml @@ -39,13 +39,20 @@ jobs: - uses: actions/checkout@v4.2.2 # https://github.com/bazelbuild/bazel/issues/11062 - - run: bazel run //docs:collate_docs + run: | + echo 'examples' > .bazelignore # remove '//docs' + bazel run //docs:collate_docs - - run: bazel build //... + run: | + echo 'docs' > .bazelignore + echo 'examples' >> .bazelignore + bazel build //... - run: bazel test //... --test_output=errors --test_summary=detailed - name: Integration Tests (ie Proof Examples) - run: bazel test //examples:all_integration_tests --test_output=errors --test_summary=detailed + run: | + echo 'docs' > .bazelignore + bazel test //examples:all_integration_tests --test_output=errors --test_summary=detailed - run: bazel shutdown