Skip to content

Commit

Permalink
Update pythonpublish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrouhi13 committed Mar 9, 2020
1 parent 1f1dc2d commit 2096c3a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ on:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
Expand Down
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,22 @@ help:
@echo "Usage:"
@echo " make help show this message"
@echo " make build create python package"
@echo " make upload upload package to pypi"
@echo " make init create virtual environment and install dependencies"
@echo " make setup do migrations and collect static files"
@echo " make activate enter virtual environment"
@echo " make test run the test suite"
@echo " exit leave virtual environment"

build:
python3 setup.py sdist bdist_wheel
twine check dist/*

upload:
twine upload dist/*
rm -dr build/ dist/ *.egg-info

init:
pip install pipenv
pipenv install --dev --three

setup:
cp testproject/settings.py.sample testproject/settings.py

activate:
pipenv shell

test:
pipenv run coverage erase
pipenv run ./manage.py test
Expand Down

0 comments on commit 2096c3a

Please sign in to comment.