Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
be3f903c
Commit
be3f903c
authored
Sep 21, 2026
by
Eric Duminil
Browse files
Adding latest
parent
94d59da7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
be3f903c
...
@@ -22,8 +22,8 @@ shell: ## Start bash
...
@@ -22,8 +22,8 @@ shell: ## Start bash
@
echo
"
${green}
Start shell
${no_color}
"
@
echo
"
${green}
Start shell
${no_color}
"
docker run
--rm
-it
simstadt/simstadt:cli bash
docker run
--rm
-it
simstadt/simstadt:cli bash
docker-build
:
##
Build the cli Docker image
docker-build
:
##
Build the cli Docker image
(also tagged :latest)
docker build
--target
cli
-t
simstadt/simstadt:cli .
docker build
--target
cli
-t
simstadt/simstadt:cli
-t
simstadt/simstadt:latest
.
docker-test
:
docker-build
##
Run the full test suite (incl. integration tests) against the published PyPI package inside Docker
docker-test
:
docker-build
##
Run the full test suite (incl. integration tests) against the published PyPI package inside Docker
docker run
--rm
simstadt/simstadt:cli uv run
--no-sync
pytest
-v
docker run
--rm
simstadt/simstadt:cli uv run
--no-sync
pytest
-v
...
@@ -31,8 +31,9 @@ docker-test: docker-build ## Run the full test suite (incl. integration tests) a
...
@@ -31,8 +31,9 @@ docker-test: docker-build ## Run the full test suite (incl. integration tests) a
_check_docker_push
:
_check_docker_push
:
@
echo
-n
"Are you sure you want to push the Docker images to Docker Hub? [y/N] "
&&
read
ans
&&
[
$
${
ans
:-
N
}
=
y
]
@
echo
-n
"Are you sure you want to push the Docker images to Docker Hub? [y/N] "
&&
read
ans
&&
[
$
${
ans
:-
N
}
=
y
]
docker-push
:
_check_docker_push docker-build
##
Push the cli image to Docker Hub (requires prior `docker login`)
docker-push
:
_check_docker_push docker-build
##
Push the cli
and latest
image
s
to Docker Hub (requires prior `docker login`)
docker push simstadt/simstadt:cli
docker push simstadt/simstadt:cli
docker push simstadt/simstadt:latest
tests_installed_package
:
##
Tests the installed simstadt package
tests_installed_package
:
##
Tests the installed simstadt package
pytest
--pyargs
simstadt
-v
pytest
--pyargs
simstadt
-v
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment