Skip to content

Commit d395187

Browse files
committed
test + docs in ci
1 parent 1726ba4 commit d395187

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: test and deploy docs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
permissions:
7+
contents: write
8+
jobs:
9+
ci:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Configure Git Credentials
14+
run: |
15+
git config user.name github-actions[bot]
16+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.12'
20+
cache: 'pip'
21+
cache-dependency-path: 'pyproject.toml'
22+
- run: pip install -e .\[all,docs\]
23+
- run: pytest -x -vv --cov=src tests/
24+
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)