added config flow test and workflow for tests

This commit is contained in:
tomaae 2020-04-14 20:57:34 +02:00
parent f17fefb5d8
commit 1dd4f52524
10 changed files with 1706 additions and 5 deletions

22
.github/generate_requirements.py vendored Normal file
View file

@ -0,0 +1,22 @@
import configparser
def main():
parser = configparser.ConfigParser()
parser.read("Pipfile")
packages = "packages"
with open("requirements.txt", "w") as f:
for key in parser[packages]:
value = parser[packages][key]
f.write(key + value.replace('"', "") + "\n")
devpackages = "dev-packages"
with open("requirements_tests.txt", "w") as f:
for key in parser[devpackages]:
value = parser[devpackages][key]
f.write(key + value.replace('"', "") + "\n")
if __name__ == "__main__":
main()