File tree Expand file tree Collapse file tree 11 files changed +483
-356
lines changed
Expand file tree Collapse file tree 11 files changed +483
-356
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,11 @@ description: Install dependencies
22name : Install
33runs :
44 steps :
5- - run : pip install pipenv
5+ - uses : actions/setup-python@v4
6+ with :
7+ python-version : ' 3.10.4'
8+ - run : pip install poetry==1.1.14
69 shell : bash
7- - run : pipenv install --dev
10+ - run : poetry install
811 shell : bash
912 using : composite
Original file line number Diff line number Diff line change 11jobs :
22 lint :
3- runs-on : ubuntu-latest
3+ runs-on : ubuntu-22.04
44 steps :
5- - uses : actions/checkout@v2
6- - uses : actions/setup-python@v2
7- with :
8- python-version : ' 3.7'
5+ - uses : actions/checkout@v3
96 - uses : ./.github/actions/install
10- - run : pipenv run black --check .
11- - run : pipenv run pydocstyle
7+ - run : poetry run black --check .
8+ - run : poetry run pydocstyle
9+
10+ lock :
11+ runs-on : ubuntu-22.04
12+ steps :
13+ - uses : actions/checkout@v3
14+ - uses : ./.github/actions/install
15+ - run : poetry lock --no-update
16+ - run : git diff --quiet poetry.lock
1217
1318 test :
1419 runs-on : ${{ matrix.runs-on }}
1520 steps :
16- - uses : actions/checkout@v2
17- - uses : actions/setup-python@v2
18- with :
19- python-version : ' 3.7'
21+ - uses : actions/checkout@v3
2022 - uses : ./.github/actions/install
21- - run : pipenv run python -m unittest
23+ - run : poetry run python -m unittest
2224 strategy :
2325 matrix :
2426 runs-on :
25- - ubuntu-latest
26- - windows-latest
27+ - ubuntu-22.04
28+ - windows-2022
2729
2830on : pull_request
Original file line number Diff line number Diff line change 1+ jobs :
2+ release :
3+ runs-on : ubuntu-22.04
4+ steps :
5+ - uses : actions/checkout@v3
6+ - uses : ./.github/actions/install
7+ - env :
8+ POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_TOKEN }}
9+ run : poetry publish --build
10+
11+ on :
12+ release :
13+ types :
14+ - published
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
12 Apache License
23 Version 2.0, January 2004
34 http://www.apache.org/licenses/
186187 same "printed page" as the copyright notice for easier
187188 identification within third-party archives.
188189
189- Copyright 2020 Elimity
190+ Copyright 2022 Elimity
190191
191192 Licensed under the Apache License, Version 2.0 (the "License");
192193 you may not use this file except in compliance with the License.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if __name__ == "__main__":
2323## Installation
2424
2525``` sh
26- $ pip install git+https://github.com/ elimity-com/ insights-client-python.git
26+ $ pip install elimity-insights-client
2727```
2828
2929## Compatibility
You can’t perform that action at this time.
0 commit comments