Updated deployment
This commit is contained in:
parent
183861b10b
commit
a114996a7b
|
|
@ -40,3 +40,12 @@ jobs:
|
|||
- name: Test with pytest
|
||||
run: |
|
||||
pytest --cov-fail-under=100 -o xfail_strict=true --cov-report=term-missing .
|
||||
deployment:
|
||||
runs-on: ubuntu-latest
|
||||
environment: production
|
||||
steps:
|
||||
- name: deploy
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
pip install .
|
||||
python -m bootstraparse "example_userfiles" "docs"
|
||||
|
|
@ -7,6 +7,8 @@
|
|||
# The ConfigLoader class has load_from_file and load_from_folder methods and __getitem__ for accessing loaded elements
|
||||
|
||||
import os
|
||||
|
||||
import rich
|
||||
import yaml
|
||||
from bootstraparse.modules import error_mngr
|
||||
|
||||
|
|
@ -130,5 +132,7 @@ class ConfigLoader:
|
|||
# def __init__(self, config_folder):
|
||||
# super().__init__(config_folder)
|
||||
|
||||
|
||||
# conf = ConfigLoader("./example_userfiles/config/aliases.yaml")
|
||||
if __name__ == '__main__':
|
||||
conf = ConfigLoader("../configs/")
|
||||
conf.add_folder("../../../example_userfiles/config/")
|
||||
rich.inspect(conf)
|
||||
|
|
|
|||
|
|
@ -422,7 +422,7 @@ _token_list_with_expected_result = [
|
|||
sy.EtUlistToken([sy.TextToken(["b"])]),
|
||||
], _opts),
|
||||
],
|
||||
__GLk(1), # TODO : Add all optionals
|
||||
__GLk(1),
|
||||
],
|
||||
[ # Testing error handling
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in New Issue