Skip to content

Commit a66f3fb

Browse files
committed
Also export env vars for type checker
1 parent b12af7f commit a66f3fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/quality-gate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
elif [ "${{ matrix.check }}" = "format-check" ]; then
5353
ruff format --check .
5454
elif [ "${{ matrix.check }}" = "type-check" ]; then
55+
export $(cat .env | xargs)
5556
mypy genealogy genealogy_extractor --config-file pyproject.toml
5657
elif [ "${{ matrix.check }}" = "security" ]; then
5758
bandit -r genealogy genealogy_extractor -f txt -c .bandit

0 commit comments

Comments
 (0)