-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 867 Bytes
/
build.yml
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
# SPDX-FileCopyrightText: 2023 Alec Delaney
#
# SPDX-License-Identifier: MIT
name: Build CI
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Checkout Current Repo
uses: actions/checkout@v3
with:
submodules: true
- name: Pip install pre-commit
run: |
pip install --force-reinstall pre-commit
- name: Pip install documentation requirements
run: |
pip install --force-reinstall -r requirements-doc.txt
- name: Library version
run: git describe --dirty --always --tags
- name: Pre-commit hooks
run: |
pre-commit run --all-files
#- name: Build docs
# working-directory: docs
# run: sphinx-build -E -W -b html . _build/html