-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changelog added Updated text
- Loading branch information
Showing
12 changed files
with
309 additions
and
135 deletions.
There are no files selected for viewing
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,11 @@ | ||
### Description | ||
|
||
Describe what you were trying to get done. | ||
Tell us what happened, what went wrong, and what you expected to happen. | ||
|
||
### What I Did | ||
|
||
``` | ||
Paste the command(s) you ran and the output. | ||
If there was a crash, please include the traceback here. | ||
``` |
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,45 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: [ master, develop ] | ||
pull_request: | ||
branches: [ master, develop ] | ||
|
||
jobs: | ||
build_linux: | ||
name: "Build and test" | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Upgrade pip. setuptools and wheel | ||
run: python -m pip install --upgrade pip setuptools wheel | ||
|
||
- name: Install development dependencies | ||
run: pip install flake8 pytest pytest-cov | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Install package as editable | ||
run: pip install -e . | ||
- name: Test with pytest | ||
run: | | ||
pytest tests --junitxml=junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml --cov=com --cov-report=xml --cov-report=html | ||
- name: Upload pytest test results | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }} | ||
path: junit/test-results-${{ matrix.os }}-${{ matrix.python-version }}.xml | ||
# Use always() to always run this step to publish test results when there are test failures | ||
if: ${{ always() }} |
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,31 @@ | ||
# This workflows will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
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,97 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
|
||
## [1.4.1] (2020-09-28) | ||
|
||
### Added | ||
|
||
- Added `CHANGELOG.md` | ||
|
||
### Changed | ||
|
||
- Change CI from Azure Devops to Github Actions | ||
|
||
## [1.4.0] (2019-07-27) | ||
|
||
### Changed | ||
|
||
- Merged PR #4: Vectorized contour reconstruction function | ||
|
||
## [1.3.0] (2019-06-18) | ||
|
||
### Changed | ||
|
||
- Merged PR #2: Numpy vectorized efd | ||
- Moved from Travis CI to Azure Pipelines | ||
- Replaced rst with markdown | ||
|
||
## [1.2.0] (2018-06-14) | ||
|
||
### Changed | ||
|
||
- Updated setup.py | ||
- Updated numpy requirement | ||
|
||
### Added | ||
|
||
- Added Pipfile | ||
- Ran Black on code | ||
- Testing on 3.6 | ||
|
||
## [1.1.0] (2018-06-13) | ||
|
||
### Added | ||
|
||
- New example for OpenCV | ||
- Updated documentation | ||
|
||
## [1.0.0] (2016-04-19) | ||
|
||
### Changed | ||
|
||
- Deemed stable enough for version 1.0 release | ||
|
||
### Added | ||
|
||
- Created documentation. | ||
|
||
## [0.1.2] (2016-02-29) | ||
|
||
### Changed | ||
|
||
- Testing with pytest instead of nosetests. | ||
|
||
### Added | ||
|
||
- Added Coveralls use. | ||
|
||
## [0.1.1] (2016-02-17) | ||
|
||
### Fixed | ||
|
||
- Fixed MANIFEST | ||
|
||
### Added | ||
|
||
- Added LICENSE file that was missing. | ||
|
||
## 0.1.0 (2016-02-09) | ||
|
||
### Added | ||
|
||
- Initial release | ||
|
||
|
||
[Unreleased]: https://github.com/hbldh/pyefd/compare/v1.4.1...HEAD | ||
[1.4.1]: https://github.com/hbldh/pyefd/compare/v1.4.1...v1.4.0 | ||
[1.4.0]: https://github.com/hbldh/pyefd/compare/v1.4.0...v1.3.0 | ||
[1.3.0]: https://github.com/hbldh/pyefd/compare/v1.3.0...v1.2.0 | ||
[1.2.0]: https://github.com/hbldh/pyefd/compare/v1.2.0...v1.1.0 | ||
[1.1.0]: https://github.com/hbldh/pyefd/compare/v1.1.0...v1.0.0 | ||
[1.0.0]: https://github.com/hbldh/pyefd/compare/v1.0.0...v0,1.2 | ||
[0.1.2]: https://github.com/hbldh/pyefd/compare/v0.1.2...v0,1.1 | ||
[0.1.1]: https://github.com/hbldh/pyefd/compare/v0.1.1...v0,1.0 |
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
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
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
Oops, something went wrong.