Skip to content

Commit 6fc850a

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

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

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

0 commit comments

Comments
 (0)