Browse Source
Merge pull request #1179 from doccano/fix/pypi-publish-workflow
Update pypi publish workflow
pull/1183/head
Hiroki Nakayama
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
3 deletions
-
.github/workflows/pypi-publish.yml
-
Pipfile
|
|
@ -32,11 +32,11 @@ jobs: |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip |
|
|
|
pip install setuptools wheel |
|
|
|
pip install -r requirements.txt |
|
|
|
pip install pipenv |
|
|
|
pipenv sync --dev |
|
|
|
- name: collectstatic |
|
|
|
run: | |
|
|
|
python manage.py collectstatic --noinput |
|
|
|
pipenv run collectstatic |
|
|
|
working-directory: ./app |
|
|
|
- name: Build a binary wheel and a source tarball |
|
|
|
run: | |
|
|
|
|
|
@ -52,3 +52,4 @@ isort = "isort . -c" |
|
|
|
wait_for_db = "python manage.py wait_for_db" |
|
|
|
test = "python manage.py test api.tests" |
|
|
|
migrate = "python manage.py migrate" |
|
|
|
collectstatic = "python manage.py collectstatic --noinput" |