Skip to content

Commit

Permalink
user env on github machines
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdAmmar committed Nov 15, 2024
1 parent 3e5e88d commit fe01afd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/lunch_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
quack_root = os.getenv('QUACK_ROOT')

# User Name
user_name = os.getlogin()
# Fallback to 'default_user' if USER is not set
user_name = os.getenv('USER', 'default_user')

# Operating System
os_name = platform.system()
Expand Down

0 comments on commit fe01afd

Please sign in to comment.