Skip to content

Commit

Permalink
Do integration tests on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Sep 1, 2019
1 parent 38f3161 commit 231210b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ jobs:
run: |
pip install check-manifest
check-manifest
- name: Test with pytest
- name: Unit Test with pytest
run: |
coverage run --parallel -m pytest
- name: Integration Test with radish
run: |
radish -b tests/integration/radish tests/integration/features --no-ansi
- name: Report code coverage
run: |
coverage combine
Expand Down
2 changes: 1 addition & 1 deletion src/radish/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def load_module(path: Path) -> None:
"""Load the given module into the Python runtime"""
module_name = path.stem
try:
spec = importlib.util.spec_from_file_location(module_name, path)
spec = importlib.util.spec_from_file_location(module_name, str(path))
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
except Exception as exc:
Expand Down

0 comments on commit 231210b

Please sign in to comment.