-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* classes, tests * fix ci * fix ci * fix ci * fix ci * ci, makefile * make release * make release
- Loading branch information
Showing
6 changed files
with
38 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Create Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'releases/**' | ||
|
||
jobs: | ||
release: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.6 | ||
- name: make release | ||
env: | ||
PYPI_USERNAME: ${{secrets.PYPI_USER}} | ||
PYPI_PASSWORD: ${{secrets.PYPI_PASSWORD}} | ||
run: make release |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SHELL := /bin/bash | ||
.PHONY: release test | ||
|
||
release: | ||
python3 -m pip install twine | ||
echo -e "[pypi]" >> ~/.pypirc | ||
echo -e "username = ${PYPI_USERNAME}" >> ~/.pypirc | ||
echo -e "password = ${PYPI_PASSWORD}" >> ~/.pypirc | ||
python3 setup.py sdist bdist_wheel | ||
twine upload dist/* | ||
|
||
test: | ||
source venv/bin/activate && pytest tests.py |
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 |
---|---|---|
|
@@ -13,4 +13,3 @@ For exporting a single Map or Feature service to GeoDataFrame: | |
```python | ||
|
||
``` | ||
|
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