Skip to content

Commit 9dbe6cd

Browse files
author
Michael Yakobi
authored
Merge pull request #1 from SolarEdgeTech/flask-extension
Publish a flask-extension for setting up Pyctator with a Flask application
2 parents 9d5a3d9 + a219f35 commit 9dbe6cd

13 files changed

+2165
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This workflow will install dependencies, build flask-pyctuator and run mypy and pylint
2+
3+
name: build
4+
5+
on:
6+
push:
7+
pull_request:
8+
9+
jobs:
10+
run_image:
11+
runs-on: [ubuntu-18.04]
12+
container:
13+
image: matanrubin/python-poetry:3.7
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: make bootstrap
18+
- run: poetry build -vvv
19+
20+
- run: poetry install
21+
- run: make check
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Publishes the flask-pyctuator module to pypi
2+
3+
name: publish
4+
5+
on:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
run_image:
11+
runs-on: [ubuntu-18.04]
12+
container:
13+
image: matanrubin/python-poetry:3.7
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: make bootstrap
18+
- run: poetry update -vvv
19+
- run: poetry build -vvv
20+
- run: poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)