Skip to content

Commit 739a002

Browse files
committed
fix action
1 parent fac7735 commit 739a002

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/benchmarks/scripts/measure_heap.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121

2222
def connect_ssh():
2323

24-
if not os.path.isfile(os.path.join('tests', 'benchmarks', 'scripts', 'id_ed25519')):
25-
file = open(os.path.join('tests', 'benchmarks', 'scripts', 'id_ed25519'), 'w')
24+
if not os.path.isfile(os.path.join('id_ed25519')):
25+
file = open(os.path.join('id_ed25519'), 'w')
2626
file.write(os.environ['SSH_LOCAL_PRIV'])
2727
file.close()
2828
print('SSH ID written to file')
2929

3030
client = paramiko.SSHClient()
3131
client.get_host_keys().add('cicd.micro-ocpp.com', 'ssh-ed25519', paramiko.pkey.PKey.from_type_string('ssh-ed25519', base64.b64decode(os.environ['SSH_HOST_PUB'])))
32-
client.connect('cicd.micro-ocpp.com', key_filename=os.path.join('tests', 'benchmarks', 'scripts', 'id_ed25519'))
32+
client.connect('cicd.micro-ocpp.com', key_filename=os.path.join('id_ed25519'))
3333
return client
3434

3535
def close_ssh(client: paramiko.SSHClient):

0 commit comments

Comments
 (0)