Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed May 11, 2024
1 parent 372c787 commit d9cd4be
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/scripts/hypo/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ def teardown(self):
profile = 'pull_request'
else:
profile = os.environ.get('PROFILE', 'dev')
print(f'profile is {profile}')
settings.load_profile(profile)

juicefs_machine = JuicefsCommandMachine.TestCase()
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/hypo/fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def teardown(self):
profile = 'pull_request'
else:
profile = os.environ.get('PROFILE', 'dev')

print(f'profile is {profile}')
settings.load_profile(profile)
juicefs_machine = JuicefsMachine.TestCase()
juicefs_machine.runTest()
Expand Down
2 changes: 0 additions & 2 deletions .github/scripts/hypo/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,7 @@ def teardown(self):
phases=[Phase.reuse, Phase.generate, Phase.target],
database=ci_db)
if os.environ.get('CI'):
print('CI is true')
event_name = os.environ.get('GITHUB_EVENT_NAME')
print(f'event_name is {event_name}')
if event_name == 'schedule':
profile = 'schedule'
else:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/command2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Run Example
timeout-minutes: 60
run: |
sudo -E META1=redis META2=${{matrix.meta}} .github/scripts/command/random.sh test_run_examples
sudo META1=redis META2=${{matrix.meta}} .github/scripts/command/random.sh test_run_examples
- name: Remove unused software
run: |
Expand Down

0 comments on commit d9cd4be

Please sign in to comment.