Skip to content

Commit

Permalink
fix wheel testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Dec 11, 2022
1 parent c19b11d commit 2db18d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion devscripts/files/Dockerfile.wheel
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ RUN twine check --strict dist/*

FROM $IMAGE
WORKDIR /work/
ADD devscripts/standalone/test-imports.py setup.cfg ./
ADD setup.cfg ./
ADD devscripts/standalone/test-imports.py devscripts/standalone/test-imports.py
COPY --from=build /work/dist/* dist/
2 changes: 1 addition & 1 deletion devscripts/validation/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def run(release, image, pip_cache_dir, extra=None):
"""Actually run a given wheel test."""
docker_pip_cache = "/tmp/cache"
wheel = f"dist/django_ca-{release}-py3-none-any.whl"
command = "test-imports.py"
command = "devscripts/standalone/test-imports.py"

if extra is not None:
wheel += f"[{extra}]"
Expand Down

0 comments on commit 2db18d1

Please sign in to comment.