-
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.
Publish a flask-extension for setting up Pyctator with a Flask applic…
…ation See SolarEdgeTech/pyctuator#21
- Loading branch information
michael.yak
committed
Oct 23, 2021
1 parent
9d5a3d9
commit a219f35
Showing
13 changed files
with
2,165 additions
and
0 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,21 @@ | ||
# This workflow will install dependencies, build flask-pyctuator and run mypy and pylint | ||
|
||
name: build | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
run_image: | ||
runs-on: [ubuntu-18.04] | ||
container: | ||
image: matanrubin/python-poetry:3.7 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: make bootstrap | ||
- run: poetry build -vvv | ||
|
||
- run: poetry install | ||
- run: make check |
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,20 @@ | ||
# Publishes the flask-pyctuator module to pypi | ||
|
||
name: publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
run_image: | ||
runs-on: [ubuntu-18.04] | ||
container: | ||
image: matanrubin/python-poetry:3.7 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: make bootstrap | ||
- run: poetry update -vvv | ||
- run: poetry build -vvv | ||
- run: poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }} |
Oops, something went wrong.