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

Add ecosystem.json to include project in Qiskit ecosystem #43

Closed
wants to merge 1 commit into from
Closed
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
23 changes: 23 additions & 0 deletions ecosystem.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"dependencies_files": [
"requirements.txt",
"requirements-dev.txt"
],
"extra_dependencies": [
"pytest"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the test dependencies are in requirements-dev.txt which is in the dependencies above, maybe we don't need this?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just check it, what do you mean ?
I even don't see pytest in your 2 files

],
"language": {
"name": "python",
"versions": ["3.9"]
},
"tests_command": [
"pytest"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we just defer this to the Makefile we have already? So

Suggested change
"pytest"
"make test_ci"

Copy link

@mickahell mickahell Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just keep in mind in Ecosystem we launch it inside a tox env, so keep it as simple and basic as possible :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add :

    "debian_dependencies": [
        "make"
    ],

The feature is actually in review process

],
"styles_check_command": [
"pylint -rn src tests"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise this could maybe be

Suggested change
"pylint -rn src tests"
"make lint style"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just keep in mind in Ecosystem we launch it inside a tox env, so keep it as simple and basic as possible :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add :

    "debian_dependencies": [
        "make"
    ],

The feature is actually in review process

],
"coverages_check_command": [
"coverage3 run -m pytest",
"coverage3 report --fail-under=80"
]
}