Skip to content

Commit e3ac696

Browse files
committed
Update dev version
* Add tests * Refactor
1 parent c042e45 commit e3ac696

39 files changed

+838
-416
lines changed

.github/workflows/ci-dev.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI Dev
2+
3+
on:
4+
push:
5+
branches: [dev]
6+
pull_request:
7+
branches: [dev]
8+
schedule:
9+
- cron: "0 5 * * *"
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
test:
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [ubuntu-latest, windows-latest]
21+
python-version: ["3.10", "3.11", "3.12"]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip wheel
34+
pip install -r dev_requirements.txt
35+
36+
- name: Run tests
37+
run: python -m pytest test/ -v

.github/workflows/ci-stable.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI Stable
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: "0 5 * * *"
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
test:
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [ubuntu-latest, windows-latest]
21+
python-version: ["3.10", "3.11", "3.12"]
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip wheel
34+
pip install -r requirements.txt
35+
36+
- name: Run tests
37+
run: python -m pytest test/ -v

.github/workflows/dev_python3_10.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/dev_python3_11.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/dev_python3_12.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/stable_python3_10.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/stable_python3_11.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/stable_python3_12.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,5 @@ dmypy.json
114114

115115
# Pyre type checker
116116
.pyre/
117+
/.claude/
118+
/.claude

dev_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ twine
44
sphinx-rtd-theme
55
build
66
pytest
7+

0 commit comments

Comments
 (0)