Skip to content

Commit

Permalink
Merge pull request #70 from sentinel-hub/remove-3.7-from-ci
Browse files Browse the repository at this point in the history
Remove 3.7 from CI
  • Loading branch information
zigaLuksic authored Apr 5, 2023
2 parents 0c1dbd4 + 1574f05 commit 7155920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.7"
- "3.9"
- "3.10"
include:
Expand Down
9 changes: 4 additions & 5 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import datetime as dt
import os
from typing import List, Tuple

import numpy as np
Expand All @@ -17,10 +16,10 @@
def config_fixture() -> SHConfig:
config = SHConfig()

for param in config.get_params():
env_variable = param.upper()
if os.environ.get(env_variable):
setattr(config, param, os.environ.get(env_variable))
# for param in config.get_params():
# env_variable = param.upper()
# if os.environ.get(env_variable):
# setattr(config, param, os.environ.get(env_variable))

return config

Expand Down

0 comments on commit 7155920

Please sign in to comment.