forked from bluesky/bluesky-httpserver
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (29 loc) · 923 Bytes
/
Copy pathdocs.yml
File metadata and controls
40 lines (29 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Documentation
on: [push, pull_request]
jobs:
build:
name: Test building docs
runs-on: ubuntu-latest
env:
python_env: py313
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
# Need this to get version number from last tag
fetch-depth: 0
- uses: shogo82148/actions-setup-redis@v1
with:
redis-version: "7.x"
- uses: prefix-dev/setup-pixi@v0.10.0
- name: Install dev dependencies
run: |
set -vxeuo pipefail
pixi install --environment=${{ env.python_env }}
pixi list --environment=${{ env.python_env }}
pixi run --environment=${{ env.python_env }} pip list
pixi run --environment=${{ env.python_env }} conda list
- name: Run pre-commit
run: |
pixi run --environment=${{ env.python_env }} make -C docs/ html