Skip to content

Commit 3c88c5b

Browse files
committed
#58 CI strykey
1 parent 0f88d3c commit 3c88c5b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/CI-mutation-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ jobs:
3434
import os
3535
base_path = os.environ.get('BASE_PATH', 'src/environments/')
3636
with open(base_path + "keys.ts", "w") as fileWithKeys:
37-
fileWithKeys.write('export const SCOPES = ') + str(os.environ['SCOPES']).split(",") + ';';
38-
fileWithKeys.write('\nexport const CLIENT_ID = ' + os.environ['CLIENT_ID']) + ';';
39-
fileWithKeys.write('\nexport const AUTHORITY = ' + os.environ['AUTHORITY']) + ';';
37+
scopes = str(os.environ['SCOPES']).split(",")
38+
client_id = os.environ['CLIENT_ID']
39+
authority = os.environ['AUTHORITY']
40+
fileWithKeys.write(f'export const SCOPES = {scopes};')
41+
fileWithKeys.write(f'\nexport const CLIENT_ID = {client_id};')
42+
fileWithKeys.write(f'\nexport const AUTHORITY = {authority};')
4043
4144
- name: Run the test
4245
run: npm run ci-test --if-present

0 commit comments

Comments
 (0)