Skip to content

Commit

Permalink
use pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
cruz636 committed Aug 21, 2024
1 parent 01fe8aa commit 7cd21bb
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7cd21bb

Please sign in to comment.