Skip to content

Commit

Permalink
Debug matrix parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Feb 7, 2024
1 parent 1834988 commit 52cab26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env python3
import json
import os
from collections.abc import Mapping
from typing import Dict, List, Optional, Union

import yaml

Expand All @@ -19,6 +16,7 @@ def setenv(name: str, value: str) -> None:

def parse_base_matrix(input_matrix: str) -> dict:
matrix = yaml.safe_load(input_matrix)
print(matrix)
if matrix is None:
return {}
if not isinstance(matrix, dict):
Expand Down

0 comments on commit 52cab26

Please sign in to comment.