Skip to content

Commit d3bcc5b

Browse files
committed
Add simple github action
1 parent 909e1b0 commit d3bcc5b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Documentation
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
docs:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: 'actions/checkout@v3'
17+
18+
- uses: 'actions/setup-python@v4'
19+
with:
20+
python-version: '3.10'
21+
22+
- run: |
23+
set -e
24+
python --version
25+
python -m pip install --upgrade pip tox
26+
name: Setup Environment
27+
28+
- id: build
29+
run: |
30+
tox -e build
31+
name: Run Tox
32+

0 commit comments

Comments
 (0)