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
-
3
1
on :
4
2
release :
5
3
types : [created]
6
- workflow_dispatch :
7
-
8
4
jobs :
9
- build :
5
+ release :
10
6
runs-on : ubuntu-latest
11
7
steps :
12
8
- uses : actions/checkout@v2
13
- - name : Configure
14
- uses : actions/setup-python@v2
9
+ - uses : actions/setup-python@v2
15
10
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
25
15
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
-
3
1
on :
4
2
push :
5
- branches : [ main ]
3
+ branches :
4
+ - main
6
5
pull_request :
7
- branches : [ main ]
8
-
9
6
jobs :
10
- build :
7
+ test :
11
8
runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ action :
12
+ - style
13
+ - lint
14
+ - test
15
+ - coverage
12
16
steps :
13
17
- uses : actions/checkout@v2
14
- - name : Configure
15
- uses : actions/setup-python@v2
18
+ - uses : actions/setup-python@v2
16
19
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