File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : [status]
2+
3+ jobs :
4+ circleci_artifacts_redirector_job :
5+ runs-on : ubuntu-latest
6+ name : Run CircleCI artifacts redirector
7+ steps :
8+ - name : GitHub Action step
9+ uses : larsoner/circleci-artifacts-redirector-action@master
10+ with :
11+ repo-token : ${{ secrets.GITHUB_TOKEN }}
12+ artifact-path : 0/html/index.html
Original file line number Diff line number Diff line change @@ -4,9 +4,28 @@ on: [push, pull_request]
44
55jobs :
66
7+ pre-commit :
8+
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Set up Python 3.7
14+ uses : actions/setup-python@v1
15+ with :
16+ python-version : 3.7
17+ - name : Install dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install -e .[code_style]
21+ - name : Run pre-commit
22+ run : |
23+ pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
24+
725 publish :
826
927 name : Publish to PyPi
28+ needs : [pre-commit]
1029 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
1130 runs-on : ubuntu-latest
1231 steps :
Original file line number Diff line number Diff line change 2020 author = "Chris Sewell" ,
2121 author_email = "chrisj_sewell@hotmail.com" ,
2222 url = "https://github.com/executablebooks/sphinx-panels" ,
23+ project_urls = {"Documentation" : "https://sphinx-panels.readthedocs.io" },
2324 license = "MIT" ,
2425 packages = find_packages (),
2526 package_data = {"sphinx_panels" : ["_static/panels.css" ]},
You can’t perform that action at this time.
0 commit comments