From e820ba4dbb3d871880d8f0cb6f5198cedb83e11d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 16 Dec 2023 14:27:32 +0100 Subject: [PATCH] Move the NO_CLEANUP to bazelrc --- .bazelrc | 1 + .github/workflows/ci.yaml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index 5f6e12c..04578a2 100644 --- a/.bazelrc +++ b/.bazelrc @@ -4,6 +4,7 @@ build --keep_going test --announce_rc test --keep_going test --spawn_strategy=sandboxed +test --test_env=NO_CLEANUP=1 test --test_env=PYTEST_ADDOPTS="--color=yes --capture=tee-sys --tb=short --showlocals -ra --verbose --verbose" test --test_output=errors test --test_verbose_timeout_warnings diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 30ad646..349d943 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,8 +25,7 @@ jobs: - run: sed -i.bak '/remove if Bazel version < 6/d' tests/test.cc && rm tests/test.cc.bak if: ${{ startsWith(matrix.bazel-version, '5') }} - - name: Run tests - run: bazel test --test_env=NO_CLEANUP=1 //... + - run: bazel test //... lint: runs-on: ubuntu-latest