File tree 3 files changed +12
-34
lines changed
3 files changed +12
-34
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: lint-test-build
3
3
on :
4
4
push :
5
5
branches :
6
- - ' ** '
6
+ - master
7
7
tags-ignore :
8
8
- ' **'
9
9
pull_request :
21
21
22
22
steps :
23
23
- uses : actions/checkout@v2
24
- - name : Set up Python ${{ matrix.python-version }}
25
- uses : actions/setup-python@v2
24
+ - name : Run build pipeline for linting, testing & packaging verification.
25
+ uses : pypyr/run-in-tox-action@master
26
26
with :
27
- python-version : ${{ matrix.python-version }}
28
- - name : Display Python version
29
- run : python -c "import sys; print(sys.version)"
30
- - name : Install dependencies
31
- run : |
32
- python -m pip install --upgrade pip
33
- pip install tox
34
- - name : Run build pipeline for linting, tests & packaging integrity checks.
35
- run : tox ops/build package
27
+ pipeline : ops/build package
28
+ python-version : ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v2
12
- - name : Set up Python
13
- uses : actions/setup-python@v2
14
- with :
15
- python-version : ' 3.x'
16
- - name : Display Python version
17
- run : python -c "import sys; print(sys.version)"
18
- - name : Install dependencies
19
- run : |
20
- python -m pip install --upgrade pip
21
- pip install tox
22
12
- name : Run publish pipeline
13
+ uses : pypyr/run-in-tox-action@master
14
+ with :
15
+ pipeline : ops/build package publish
16
+ python-version : ${{ matrix.python-version }}
23
17
env :
24
18
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25
19
TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26
- run : tox ops/build package publish
Original file line number Diff line number Diff line change 18
18
with :
19
19
# pull all tags also
20
20
fetch-depth : 0
21
- - name : Set up Python
22
- uses : actions/setup-python@v2
21
+ - name : run tag pipeline.
22
+ uses : pypyr/run-in-tox-action@master
23
23
with :
24
- python-version : ' 3.x'
25
- - name : Display Python version
26
- run : python -c "import sys; print(sys.version)"
27
- - name : Install dependencies
28
- run : |
29
- python -m pip install --upgrade pip
30
- pip install tox
31
- - name : run tag pipeline
32
- run : tox ops/tag
24
+ pipeline : tox ops/tag
You can’t perform that action at this time.
0 commit comments