-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b46863d
commit 621c0ac
Showing
7 changed files
with
135 additions
and
36 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,60 @@ | ||
name: "build" | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: master | ||
|
||
jobs: | ||
build: | ||
name: Python ${{ matrix.python-version }} | Flask ${{ matrix.flask-version }} | Ubuntu | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- python-version: 2.7 | ||
flask-version: "0.10.*" | ||
- python-version: 2.7 | ||
flask-version: "0.11.*" | ||
|
||
- python-version: 3.6 | ||
flask-version: "0.12.*" | ||
- python-version: 3.6 | ||
flask-version: "1.0.*" | ||
- python-version: 3.6 | ||
flask-version: "1.1.*" | ||
|
||
- python-version: 3.7 | ||
flask-version: "1.0.*" | ||
- python-version: 3.7 | ||
flask-version: "1.1.*" | ||
|
||
- python-version: 3.8 | ||
flask-version: "1.0.*" | ||
- python-version: 3.8 | ||
flask-version: "1.1.*" | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install Flask ${{ matrix.flask-version }} | ||
run: | | ||
pip install Flask==${{ matrix.flask-version }} | ||
pip install pillow | ||
pip install codecov | ||
pip install mock | ||
- name: Run tests | ||
run: | | ||
PYTHONPATH=".:tests:$PYTHONPATH" coverage run --omit='setup.py' --omit='tests/*' --source='.' setup.py test | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
|
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,32 @@ | ||
name: PyPI Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
publish: | ||
name: PyPI Release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Upgrade Setuptools | ||
run: pip install --upgrade setuptools wheel | ||
|
||
- name: Build Distribution | ||
run: python setup.py sdist bdist_wheel --universal | ||
|
||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.pypi_password }} |
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,36 @@ | ||
## [Unreleased] | ||
|
||
## [1.0.7] - 2020-12-07 | ||
### Added | ||
- Flask 1.1 compatibility | ||
|
||
## [1.0.6] - 2018-07-07 | ||
### Added | ||
- Flask 1.0 compatibility | ||
|
||
## [1.0.4] - 2018-04-15 | ||
### Fix | ||
- Update setup.py | ||
|
||
## [1.0.2] - 2017-06-07 | ||
### Fix | ||
- Fix "mkdirs" py2/py3 compatibility | ||
|
||
## [1.0.1] - 2017-05-07 | ||
### Add | ||
- Support for single integer size values for square thumbnails | ||
- Fix the event someone uses the Thumbnail constructor without passing in the app | ||
|
||
## [1.0.0] - 2017-04-07 | ||
### Add | ||
- Add custom thumbnail storage | ||
- Support python 3.4+ | ||
- Test code | ||
|
||
[Unreleased]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.7...HEAD | ||
[0.1.7]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.6...v0.1.7 | ||
[0.1.6]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.5...v0.1.6 | ||
[0.1.4]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.3...v0.1.4 | ||
[0.1.2]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.1...v0.1.2 | ||
[0.1.1]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.0...v0.1.1 | ||
[0.1.0]: https://github.com/silentsokolov/flask-thumbnails/compare/v0.1.0...v0.1.0 |
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 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