File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898 if : needs.check.outputs.publish == 'true'
9999 permissions :
100100 contents : read
101- uses : ./.github/workflows/run-build-dist .yml
101+ uses : ./.github/workflows/run-build-tests .yml
102102 with :
103103 environment : pre-release
104104 ref : ${{ github.event.workflow_run.head_sha }}
Original file line number Diff line number Diff line change 5656 - verify-release
5757 permissions :
5858 contents : read
59- uses : ./.github/workflows/run-build-dist .yml
59+ uses : ./.github/workflows/run-build-tests .yml
6060 with :
6161 environment : release
6262 ref : ${{ needs.verify-release.outputs.tag_commit }}
Original file line number Diff line number Diff line change 1- name : Build distribution
1+ name : Build tests
22
33on :
44 workflow_call :
@@ -128,3 +128,30 @@ jobs:
128128 run : |
129129 rm -rf holidays
130130 uv run --frozen --isolated --no-default-groups --group tests --with ${{ matrix.dist.artifact }} -- pytest --dist loadscope --numprocesses auto tests/countries tests/financial
131+
132+ test-docs :
133+ name : Test docs build
134+ permissions :
135+ contents : read
136+ runs-on : ubuntu-24.04-arm
137+ steps :
138+ - name : Check out repository
139+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
140+ with :
141+ persist-credentials : false
142+ ref : ${{ inputs.ref }}
143+
144+ - name : Install uv
145+ uses : astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
146+ with :
147+ python-version : ${{ env.DEFAULT_PYTHON_VERSION }}
148+ version-file : uv.lock
149+
150+ - name : Install Python
151+ run : uv python install "$UV_PYTHON"
152+
153+ - name : Install dependencies
154+ run : uv sync --frozen --no-default-groups --no-install-project --group docs --link-mode=copy --no-build
155+
156+ - name : Build docs
157+ run : make doc
Original file line number Diff line number Diff line change 5555 uses : codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
5656 with :
5757 token : ${{ secrets.CODECOV_TOKEN }}
58-
59- test-docs :
60- name : Test docs build
61- needs :
62- - test
63- permissions :
64- contents : read
65- runs-on : ubuntu-24.04-arm
66- steps :
67- - name : Check out repository
68- uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
69- with :
70- persist-credentials : false
71-
72- - name : Install uv
73- uses : astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
74- with :
75- python-version : ${{ env.DEFAULT_PYTHON_VERSION }}
76- version-file : uv.lock
77-
78- - name : Install Python
79- run : uv python install "$UV_PYTHON"
80-
81- - name : Install dependencies
82- run : uv sync --frozen --no-default-groups --no-install-project --group docs --link-mode=copy --no-build
83-
84- - name : Build docs
85- run : make doc
You can’t perform that action at this time.
0 commit comments