Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest failing on ctapipe tools in CI #117

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,13 @@ jobs:
echo "Installing additional pip packages"
# we install ctapipe using pip to be able to select any commit, e.g. the current main
pip install \
"git+https://github.com/cta-observatory/ctapipe@$CTAPIPE_VERSION" \
pytest-cov
"git+https://github.com/cta-observatory/ctapipe@$CTAPIPE_VERSION"

echo "pip install -e ."
pip install -e .
pip install -e .[test]

- name: Tests
run: |
pytest --cov=nectarchain --cov-report=xml
pytest -n auto --dist loadscope --cov=nectarchain --cov-report=xml

- uses: codecov/codecov-action@v3
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dynamic = ["version"]
test = [
"pytest",
"pytest-cov",
"pytest-xdist",
]
dev = [
"setuptools_scm",
Expand Down
Loading