Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Apr 19, 2024
1 parent 0c91017 commit f54b983
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/command/random.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e
source .github/scripts/common/common.sh
[[ -z "$MAX_EXAMPLE" ]] && MAX_EXAMPLE=1000
[[ -z "$STEP_COUNT" ]] && STEP_COUNT=300
[[ -z "$MAX_EXAMPLE" ]] && MAX_EXAMPLE=100
[[ -z "$STEP_COUNT" ]] && STEP_COUNT=50

[[ -z "$META1" ]] && META1=sqlite3
source .github/scripts/start_meta_engine.sh
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/command2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,14 @@ jobs:
- name: Run All
timeout-minutes: 60
run: |
sudo META1=redis META2=${{matrix.meta}} .github/scripts/command/random.sh test_run_all
if [ "${{ github.event_name }}" == "schedule" ]; then
MAX_EXAMPLE=500
STEP_COUNT=200
else
MAX_EXAMPLE=100
STEP_COUNT=50
fi
sudo MAX_EXAMPLE=$MAX_EXAMPLE STEP_COUNT=$STEP_COUNT META1=redis META2=${{matrix.meta}} .github/scripts/command/random.sh test_run_all
- name: Log
if: always()
Expand Down

0 comments on commit f54b983

Please sign in to comment.