Skip to content

Commit

Permalink
compile before install. Revolutionary, isn't it?
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarcelo committed Feb 11, 2025
1 parent 2edfba2 commit e574d0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ def tests(session):
@nox.session(python=["3.9", "3.10"], tags=["citests"])
def legacy_deps_tests(session):
"""Run the test suite with legacy dependencies."""
session.install("pytest", "pytest-asyncio", "pytest-docker", "pytest-cov")
session.install("grpcio-tools==1.48.2", "-r", "requirements-legacydeps.txt")
session.install(".", "--no-deps")
session.install("grpcio-tools==1.48.2", "pytest", "pytest-asyncio", "pytest-docker", "pytest-cov", "-r", "requirements-legacydeps.txt")
session.run(
# See compile-protos.sh, it should be the same command
"python3",
Expand All @@ -37,6 +35,8 @@ def legacy_deps_tests(session):
"dataclay-common/dataclay/proto/backend/backend.proto",
"dataclay-common/dataclay/proto/metadata/metadata.proto",
)

session.install(".", "--no-deps")
session.run("pytest", "--disable-warnings", "--cov", "--cov-report=term-missing", "--build-legacy-deps", "tests/functional")


Expand Down

0 comments on commit e574d0b

Please sign in to comment.