-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,24 +24,31 @@ jobs: | |
- name: Install Cookiecutter | ||
run: pip install cookiecutter | ||
|
||
|
||
- name: Install Pipenv and dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pipenv | ||
pipenv install --dev | ||
- name: Scaffold a new project | ||
run: | | ||
cookiecutter https://github.com/crowdbotics/django-scaffold \ | ||
pipenv run cookiecutter https://github.com/crowdbotics/django-scaffold \ | ||
--checkout test-PI-264 \ | ||
--no-input --output-dir tmp_cookiecutter_output_2 \ | ||
project_name="Test project" \ | ||
project_generated_name="test-project" \ | ||
owner_email="[email protected] " | ||
- name: Install the requirements | ||
run: | | ||
cd tmp_cookiecutter_output_2 | ||
ls | ||
cd testproject | ||
echo "Installing requirements" | ||
ls | ||
pip install -r requirements.txt | ||
- name: Run scaffold tests | ||
run: | | ||
python manage.py test | ||
echo "Installing requirements" | ||
pipenv run python manage.py migrate | ||
pipenv run python manage.py test |