Skip to content

Commit

Permalink
ci: add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Jul 22, 2024
1 parent fc8509a commit 578b05c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 578b05c

Please sign in to comment.