From 8dea5b839e700955b61cb8f9c0bd285b44110655 Mon Sep 17 00:00:00 2001 From: Laurent Senta Date: Mon, 22 Jul 2024 16:08:41 +0200 Subject: [PATCH] ci: add doc --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af4c6e0a542..3debe7330c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,6 +43,10 @@ jobs: env: GITHUB_EVENT_NAME: ${{ github.event_name }} HAS_RUN_VERY_EXPENSIVE_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'need/very-expensive-tests') }} + # set the run_very_expensive_tests flag based on a few criteras: + # - if we're in a PR with the label 'need/very-expensive-tests' + # - if we're in the nightly cron job (schedule) + # this flag is used later to setup the env variable LOTUS_RUN_VERY_EXPENSIVE_TESTS run: | if [[ "${GITHUB_EVENT_NAME}" = "pull_request" && "${HAS_RUN_VERY_EXPENSIVE_LABEL}" = "true" ]]; then echo "run_very_expensive_tests=1" >> $GITHUB_OUTPUT