File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 24
24
25
25
jobs :
26
26
linting :
27
+ # Run pre-commit (https://pre-commit.com/)
28
+ # which runs pre-configured linter & autoformatter
27
29
runs-on : ubuntu-latest
28
30
steps :
29
31
- uses : actions/checkout@v2
@@ -108,7 +110,8 @@ jobs:
108
110
109
111
build-n-publish-dummy :
110
112
runs-on : ubuntu-latest
111
- needs : [linting, test]
113
+ needs : [linting, test, build_doc_dryrun]
114
+ if : github.event_name != 'pull_request'
112
115
steps :
113
116
- uses : actions/checkout@master
114
117
- name : Set up Python 3.7
@@ -123,15 +126,14 @@ jobs:
123
126
# # Although working and recommended, test-pypi has a limit
124
127
# # in the size of projects so it's better to avoid publishing
125
128
# # until there is a way to garbage collect these dummy releases
126
- # if: github.event_name != 'pull_request'
127
129
# uses: pypa/gh-action-pypi-publish@master
128
130
# with:
129
131
# password: ${{ secrets.test_pypi_token }}
130
132
# repository_url: https://test.pypi.org/legacy/
131
133
132
134
build-n-publish :
133
135
runs-on : ubuntu-latest
134
- needs : [linting, test]
136
+ needs : [linting, test, build_doc_dryrun, build-n-publish-dummy ]
135
137
if : github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
136
138
steps :
137
139
- uses : actions/checkout@master
You can’t perform that action at this time.
0 commit comments