@@ -44,10 +44,10 @@ jobs:
4444 python -m pip install --upgrade coverage_pyver_pragma
4545
4646 - name : " Run Tests for Python ${{ matrix.config.python-version }}"
47- run : " python -m tox -e ${{ matrix.config.testenvs }}"
47+ run : python -m tox -e " ${{ matrix.config.testenvs }}"
4848
4949
50- - name : " Upload Coverage"
50+ - name : " Upload Coverage 🚀 "
5151 uses : actions/upload-artifact@v2
5252 with :
5353 name : " coverage-${{ matrix.config.python-version }}"
7171 python -m pip install --upgrade pip setuptools wheel
7272 python -m pip install --upgrade coveralls coverage_pyver_pragma
7373
74- - name : " Download Coverage"
74+ - name : " Download Coverage 🪂 "
7575 uses : actions/download-artifact@v2
7676 with :
7777 path : coverage
@@ -80,12 +80,12 @@ jobs:
8080 run : ls -R
8181 working-directory : coverage
8282
83- - name : Combine Coverage
83+ - name : Combine Coverage 👷
8484 run : |
8585 shopt -s globstar
8686 python -m coverage combine coverage/**/.coverage
8787
88- - name : " Upload Combined Coverage Artefact"
88+ - name : " Upload Combined Coverage Artefact 🚀 "
8989 uses : actions/upload-artifact@v2
9090 with :
9191 name : " combined-coverage"
@@ -99,29 +99,32 @@ jobs:
9999
100100 Deploy :
101101 needs : tests
102- if : startsWith(github.ref, 'refs/tags/')
103102
104103 runs-on : " ubuntu-20.04"
105104 steps :
106105 - name : Checkout 🛎️
107106 uses : " actions/checkout@v2"
107+ if : startsWith(github.ref, 'refs/tags/')
108108
109109 - name : Setup Python 🐍
110110 uses : " actions/setup-python@v2"
111111 with :
112112 python-version : 3.8
113+ if : startsWith(github.ref, 'refs/tags/')
113114
114115 - name : Install dependencies 🔧
115116 run : |
116117 python -m pip install --upgrade pip setuptools wheel
117118 python -m pip install --upgrade tox
119+ if : startsWith(github.ref, 'refs/tags/')
118120
119121 - name : Build distributions 📦
120122 run : |
121123 tox -e build
122124
125+ if : startsWith(github.ref, 'refs/tags/')
123126
124- - name : Upload distribution 📦 to PyPI
127+ - name : Upload distribution to PyPI 🚀
125128 if : startsWith(github.ref, 'refs/tags/')
126129 uses : pypa/gh-action-pypi-publish@master
127130 with :
@@ -134,7 +137,7 @@ jobs:
134137 Conda :
135138 needs : deploy
136139 runs-on : " ubuntu-20.04"
137- if : startsWith(github.ref, 'refs/tags/') || ${{ startsWith(github.event.head_commit.message, 'Bump version') != true }}
140+ if : startsWith(github.ref, 'refs/tags/') || ( startsWith(github.event.head_commit.message, 'Bump version') != true)
138141 steps :
139142 - name : Checkout 🛎️
140143 uses : " actions/checkout@v2"
0 commit comments