Skip to content

Commit

Permalink
Updating the project directory and adding a overwrite if exists flag …
Browse files Browse the repository at this point in the history
…in test bare and docker scripts.
  • Loading branch information
adrianwebb committed Aug 26, 2024
1 parent 7aa0f11 commit e92c48d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_bare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd .cache/bare

# create the project using the default settings in cookiecutter.json
cookiecutter ../../ --no-input --overwrite-if-exists "$@"
cd my_awesome_project
cd nexical_core_interface

# Install Python deps
pip install -r requirements/local.txt
Expand Down
6 changes: 3 additions & 3 deletions tests/test_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ mkdir -p .cache/docker
cd .cache/docker

# create the project using the default settings in cookiecutter.json
cookiecutter ../../ --no-input "$@"
cd my_awesome_project
cookiecutter ../../ --no-input --overwrite-if-exists "$@"
cd nexical_core_interface

# make sure all images build
docker compose build

# run the project's type checks
docker compose run django mypy my_awesome_project
docker compose run django mypy nexical_core_interface

# run the project's tests
docker compose run django pytest
Expand Down

0 comments on commit e92c48d

Please sign in to comment.