Skip to content

Commit 1ca8ad7

Browse files
committed
#58 CI strykey
1 parent bdc6257 commit 1ca8ad7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ jobs:
3535
base_path = os.environ.get('BASE_PATH', 'src/environments/')
3636
with open(base_path + "keys.ts", "w") as fileWithKeys:
3737
scopes = os.environ['SCOPES']
38+
export_scopes = f'export const SCOPES = ["{scopes}"];\n'
39+
print(export_scopes)
3840
client_id = os.environ['CLIENT_ID']
41+
export_client_id = f'export const CLIENT_ID = "{client_id}";\n'
42+
print(export_client_id)
3943
authority = os.environ['AUTHORITY']
40-
print('scopes')
41-
print(scopes)
42-
print('client_id')
43-
print(client_id)
44-
print('authority')
45-
print(authority)
46-
fileWithKeys.write('export const SCOPES = ["XXX"];')
47-
fileWithKeys.write('\nexport const CLIENT_ID = "XXX";')
48-
fileWithKeys.write('\nexport const AUTHORITY = "XXX";')
44+
export_authority = f'export const AUTHORITY = "{authority}";\n'
45+
print(export_authority)
46+
fileWithKeys.write(export_scopes)
47+
fileWithKeys.write(export_authority)
48+
fileWithKeys.write(export_client_id)
4949
5050
- name: Run the test
5151
run: npm run ci-test --if-present

0 commit comments

Comments
 (0)