Skip to content

Commit 0c3ff74

Browse files
authored
Merge pull request #4 from ozekik/test/setup
Set up a minimal test environment
2 parents eb6cb19 + fff0502 commit 0c3ff74

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
strategy:
12+
matrix:
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: "${{ matrix.python-version }}"
23+
24+
- name: Install Poetry
25+
run: |
26+
curl -sSL https://install.python-poetry.org | python3 -
27+
echo "export PATH=\"$HOME/.local/bin:$PATH\"" >> $GITHUB_ENV
28+
29+
- name: Install dependencies
30+
run: poetry install
31+
32+
- name: Build documentation
33+
run: poetry run mkdocs build

0 commit comments

Comments
 (0)