File tree Expand file tree Collapse file tree 5 files changed +79
-24
lines changed Expand file tree Collapse file tree 5 files changed +79
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Lighthouse
2
+ on : [push, pull_request]
3
+ jobs :
4
+ CI :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v1
8
+
9
+ - name : Set up Python 3.7
10
+ uses : actions/setup-python@v1
11
+ with :
12
+ python-version : 3.7
13
+
14
+ - name : Install dask-sphinx-theme
15
+ run : |
16
+ python -m pip install --upgrade pip
17
+ python -m pip install -e .
18
+
19
+ - name : Make example docs
20
+ run : |
21
+ cd docs
22
+ make html
23
+
24
+ - name : Run Lighthouse against example docs build
25
+ uses : treosh/lighthouse-ci-action@v2
26
+ with :
27
+ configPath : " ./lighthouserc.json"
28
+ temporaryPublicStorage : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Linting
2
+
3
+ on :
4
+ push :
5
+ branches : main
6
+ pull_request :
7
+ branches : main
8
+
9
+ jobs :
10
+ checks :
11
+ name : pre-commit hooks
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - uses : actions/setup-python@v2
16
+ -
uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change
1
+ name : Push to PyPI
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " *"
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v1
15
+
16
+ - name : Set up Python 3.7
17
+ uses : actions/setup-python@v1
18
+ with :
19
+ python-version : 3.7
20
+
21
+ - name : Install dask-sphinx-theme
22
+ run : |
23
+ python -m pip install --upgrade pip
24
+ python -m pip install -e .
25
+
26
+ - name : Build dask-sphinx-theme dist
27
+ run : |
28
+ python -m pip install wheel twine
29
+ python setup.py sdist bdist_wheel
30
+
31
+ - name : Publish dask-sphinx-theme
32
+ uses : pypa/gh-action-pypi-publish@master
33
+ with :
34
+ user : __token__
35
+ password : ${{ secrets.pypi_token }}
You can’t perform that action at this time.
0 commit comments