File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build Pyctuator, and publish it to pypi.org
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 : cd ..
18+ - run : make bootstrap
19+ - run : poetry update -vvv
20+ - run : poetry build -vvv
21+ - run : poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 1919 poetry run pytest --log-cli-level=4 --tb=no -v tests
2020
2121coverage :
22- poetry run pytest --cov-report xml:./cov .xml --cov-report html --cov-report term --cov=pyctuator --log-cli-level=4 --tb=no -v tests
22+ poetry run pytest --cov-report xml:./coverage .xml --cov-report html --cov-report term --cov=pyctuator --log-cli-level=4 --tb=no -v tests
2323
2424pylint :
2525 poetry run pylint --exit-zero pyctuator tests
Original file line number Diff line number Diff line change 1- ![ build] ( https://github.com/SolarEdgeTech/pyctuator/workflows/build/badge.svg )
2- ![ codecov] ( https://codecov.io/gh/SolarEdgeTech/pyctuator/branch/master/graph/badge.svg )
1+ [ ![ PyPI] ( https://img.shields.io/pypi/v/pyctuator?color=green&style=plastic )] ( https://pypi.org/project/pyctuator/ )
2+ [ ![ build] ( https://github.com/SolarEdgeTech/pyctuator/workflows/build/badge.svg )] ( https://github.com/SolarEdgeTech/pyctuator/ )
3+ [ ![ Codecov] ( https://img.shields.io/codecov/c/github/SolarEdgeTech/pyctuator?style=plastic )] ( https://codecov.io/gh/SolarEdgeTech/pyctuator )
34
45# Pyctuator
56
You can’t perform that action at this time.
0 commit comments