Skip to content

Commit cc93e75

Browse files
committed
tests: move test dependencies from Pipfile to site and legacy
1 parent 796740c commit cc93e75

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
5858
# We're pinning "pipenv" to the same version as in the deployment Docker image
5959
pip install "pipenv==2023.12.1"
60-
[ "${{ matrix.package-dir }}" == "site" ] && pipenv install --dev --deploy --system
60+
[ "${{ matrix.package-dir }}" == "site" ] && pipenv install --deploy --system
6161
pip install "./legacy"
6262
pip install "./${{ matrix.package-dir }}[$EXTRAS]"
6363

Pipfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ name = "pypi"
33
url = "https://pypi.org/simple"
44
verify_ssl = true
55

6-
[dev-packages]
7-
pytest-invenio = ">=3.2.0,<4.0.0"
8-
pytest-black = ">=0.4.0"
9-
sphinx = ">=4.5"
10-
isort = ">=6.0"
11-
126
[packages]
137
invenio-app-rdm = {version = "==13.0.0b2.dev13", extras = ["opensearch2"]}
148
invenio-checks = ">=0.1.0,<1.0.0"

legacy/setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ zip_safe = False
1919

2020
[options.extras_require]
2121
tests =
22-
pytest-black
23-
pytest-invenio
22+
pytest-black>=0.6.0
23+
pytest-invenio>=3.2.0,<4.0.0
2424

2525
[bdist_wheel]
2626
universal = 1

site/setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ install_requires =
3030

3131
[options.extras_require]
3232
tests =
33+
pytest-black>=0.6.0
34+
pytest-invenio>=3.2.0,<4.0.0
3335
dictdiffer>=0.9.0
3436

3537
[options.entry_points]

0 commit comments

Comments
 (0)