Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nritsche committed Dec 11, 2020
1 parent c53e3ae commit f7c1a70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
pip install -r requirements.txt
pip install mpi4py
pip install pytest
python setup.py develop
python setup.py build_ext --inplace
python setup.py install
- name: Run serial tests
run: pytest --doctest-modules caput/
Expand Down
2 changes: 1 addition & 1 deletion caput/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def add_task(self, task, requires=None, in_=None, out=None):
out_keys = [t._out_keys for t in self.tasks if t != task]
out_keys = [item for sublist in out_keys for item in sublist]

if isinstance(value, str):
if not isinstance(value, list):
value = [value]
for v in value:
if v not in out_keys:
Expand Down
1 change: 1 addition & 0 deletions caput/tests/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def test_load_yaml(simple_config):
test_runner = CliRunner()
config_file = write_to_file(simple_config)
result = test_runner.invoke(caput_script.lint_config, [config_file])
print(result.output)
assert result.exit_code == 0


Expand Down

0 comments on commit f7c1a70

Please sign in to comment.