File tree Expand file tree Collapse file tree 8 files changed +654
-629
lines changed Expand file tree Collapse file tree 8 files changed +654
-629
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : release
2-
31on :
42 release :
53 types : [created]
6- workflow_dispatch :
7-
84jobs :
9- build :
5+ release :
106 runs-on : ubuntu-latest
117 steps :
128 - uses : actions/checkout@v2
13- - name : Configure
14- uses : actions/setup-python@v2
9+ - uses : actions/setup-python@v2
1510 with :
16- python-version : 3.9
17- - name : Install
18- run : |
19- python -m pip install --upgrade pip
20- pip install poetry
21- poetry install
22- - name : Run
23- run : |
24- poetry publish --build -u __token__ -p "${PYPI_TOKEN}"
11+ python-version : ' 3.10'
12+ - run : pip install poetry
13+ - run : poetry install
14+ - run : poetry publish --build -u __token__ -p $PYPI_TOKEN
2515 env :
26- PYPI_TOKEN : ${{secrets.PYPI_TOKEN}}
16+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
17+ - run : poetry run poe document
18+ - uses : peaceiris/actions-gh-pages@v3
19+ with :
20+ github_token : ${{ secrets.GITHUB_TOKEN }}
21+ publish_dir : ./documentation/module/_build/html
22+ publish_branch : documentation
23+ force_orphan : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : test
2-
31on :
42 push :
5- branches : [ main ]
3+ branches :
4+ - main
65 pull_request :
7- branches : [ main ]
8-
96jobs :
10- build :
7+ test :
118 runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ action :
12+ - style
13+ - lint
14+ - test
15+ - coverage
1216 steps :
1317 - uses : actions/checkout@v2
14- - name : Configure
15- uses : actions/setup-python@v2
18+ - uses : actions/setup-python@v2
1619 with :
17- python-version : 3.9
18- - name : Install
19- run : |
20- python -m pip install --upgrade pip
21- pip install poetry
22- poetry install
23- - name : Run
24- run : |
25- poetry run poe test
20+ python-version : ' 3.10'
21+ - uses : actions/cache@v2
22+ id : cache
23+ with :
24+ path : ~/.cache/pypoetry/virtualenvs
25+ key : ${{ hashFiles('poetry.lock') }}
26+ - run : pip install poetry
27+ - run : poetry install
28+ if : steps.cache.outputs.cache-hit != 'true'
29+ - run : poetry run poe ${{ matrix.action }}
You can’t perform that action at this time.
0 commit comments