Skip to content

Conversation

@rodrigoalmeida94
Copy link
Collaborator

Description

Add a release to PyPi actions workflow. Requires TWINE_USERNAME and TWINE_PASSWORD to be added as secrets in repository. Will only run in main if tests are successful AND pushed branch has a tag.

@rodrigoalmeida94 rodrigoalmeida94 merged commit d6b5627 into feature/440-cicd-ghaction Jan 31, 2022
@rodrigoalmeida94 rodrigoalmeida94 deleted the add-release branch January 31, 2022 11:10
rodrigoalmeida94 pushed a commit that referenced this pull request Jan 31, 2022
* Uncomment tox

* Update job name to test

* Add release workflow only on main and with tag
rodrigoalmeida94 pushed a commit that referenced this pull request Feb 8, 2022
* Add linting with flake8, black & isort

- Remove python-env from tox.ini files, use gh-actions matrix for
running different python versions
- Define tox runs as `tox -e [lint/format/flake8/test]`

* Change basepython to python3 from python3.9. Add test run with tox.

* Add python3.10 to the github runner matrix

* Use ubuntu-small osgeo container

- Tested github-actions locally using act.
- osgeo ubuntu-large images are 1.4 GB in size, takes some time to run this locally
- Replacing this with ubuntu-small runs it faster with no side effects

* Add release Actions workflow (#449)

* Uncomment tox

* Update job name to test

* Add release workflow only on main and with tag

* Fix flake8 (#450)

* lint is flake8

* Remove - in order to not ignore exit code

* Add extended ignores for flake8

* Rm unused vars

* Remove extra #

* Rm unused var

* Add rio-cogeo dependency

* Fix undefined variable, ignore ambigous name

* Rm flake8

* Fix unused imports F401

* Remove -

* Add cv2 dependencies

* Format

* Check if formatting passes

* Move black/isort/flake8 config to setup.cfg

* Add pre-commit config with isort, balck and flake8

* Add pre-commit dep

Co-authored-by: SRM <soumya@developmentseed.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants