File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11name : Test
2- on : [push, pull_request]
2+ on :
3+ push :
4+ paths-ignore :
5+ - ' doc/**'
6+ pull_request :
7+ paths-ignore :
8+ - ' doc/**'
39
410concurrency :
511 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
@@ -25,20 +31,12 @@ jobs:
2531 with :
2632 fetch-depth : 1
2733
28- - name : pycache
29- uses : actions/cache@v4
30- id : pycache
31- with :
32- path : ~/.cache/pip
33- key : ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
34- restore-keys : |
35- ${{ runner.os }}-pip-
36-
3734 - name : Setup python ${{ matrix.python-version }}
3835 uses : actions/setup-python@v5
3936 with :
4037 python-version : ${{ matrix.python-version }}
4138 allow-prereleases : true
39+ cache : ' pip'
4240
4341 - name : Install tox and test related
4442 run : |
Original file line number Diff line number Diff line change 88Environments
99------------
1010
11+ * Avoid unrelated CI test for doc changes, and cache using setup-python action by @rffontenelle in https://github.com/sphinx-doc/sphinx-intl/pull/106
12+
1113Incompatibility
1214---------------
1315
You can’t perform that action at this time.
0 commit comments