Skip to content

Commit

Permalink
Build package in docker before running integration tests (#4046)
Browse files Browse the repository at this point in the history
  • Loading branch information
masipauskas authored Nov 14, 2024
1 parent a53cf7f commit 5a1cc78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions client/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ omit = [
# from: https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages
[tool.setuptools.package-data]
"*" = ["*.pyi", "py.typed", "proto/**/*.proto"]

6 changes: 2 additions & 4 deletions magefiles/tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,10 @@ func Teste2epython() error {
"--workdir", "/code",
"-e", "ARMADA_SERVER=server",
"-e", "ARMADA_PORT=50051",
"--entrypoint", "python3",
"--network", "kind",
"armada-python-client-builder:latest",
"-m", "pytest",
"-v", "-s",
"/code/tests/integration/test_no_auth.py",
"-c",
"pip install -e . && python3 -m pytest -v -s /code/tests/integration/test_no_auth.py",
}

return dockerRun(args...)
Expand Down

0 comments on commit 5a1cc78

Please sign in to comment.