Skip to content

Commit b92fe80

Browse files
committed
Update ci.yml
1 parent fc4c9cc commit b92fe80

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,23 @@ jobs:
9595
# Use the example file and run the full validation logic from our application
9696
loader = ConfigLoader(config_path='config.toml.example')
9797
config = loader.get_flat_config()
98-
_validate_config(config)
98+
99+
print("Patching config in-memory with dummy data for validation...")
100+
config_to_validate = config.copy()
101+
config_to_validate.update({
102+
"BIGQUERY_LOCATION": "dummy-location",
103+
"BIGQUERY_PROJECT_ID": "dummy-project",
104+
"BIGQUERY_DATASET_ID": "dummy-dataset",
105+
"BIGQUERY_TABLE_ID": "dummy-table",
106+
"CONTRACT_ADDRESS": "0x" + "0" * 40,
107+
"CONTRACT_FUNCTION": "dummyFunction",
108+
"BLOCKCHAIN_CHAIN_ID": 1,
109+
"RPC_PROVIDERS": ["http://dummy-rpc.com"],
110+
})
111+
112+
_validate_config(config_to_validate)
99113
100-
print('config.toml.example is valid and contains all required fields.')
114+
print('config.toml.example is structurally valid.')
101115
"
102116
103117
# =============================================================================

0 commit comments

Comments
 (0)