Skip to content

Commit 42cb7ca

Browse files
committed
abunugs
1 parent aff55c8 commit 42cb7ca

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,38 @@ jobs:
2424
run: ruff check .
2525
- name: Test
2626
run: pytest
27+
28+
keras-integration:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: actions/setup-python@v5
33+
with:
34+
python-version: "3.12"
35+
- name: Install
36+
run: |
37+
python -m pip install --upgrade pip
38+
pip install -e ".[dev,keras]"
39+
pip install tensorflow
40+
- name: Keras integration tests
41+
run: pytest tests/integration/test_keras_optimizer.py -q
42+
- name: Keras example smoke test
43+
run: python examples/keras_manual_apply.py
44+
45+
package-build:
46+
runs-on: ubuntu-latest
47+
steps:
48+
- uses: actions/checkout@v4
49+
- uses: actions/setup-python@v5
50+
with:
51+
python-version: "3.12"
52+
- name: Build distributions
53+
run: |
54+
python -m pip install --upgrade pip
55+
pip install build
56+
python -m build
57+
- name: Smoke install wheel
58+
run: |
59+
python -m venv /tmp/neat-wheel-smoke
60+
/tmp/neat-wheel-smoke/bin/pip install dist/*.whl
61+
/tmp/neat-wheel-smoke/bin/python scripts/smoke_install.py

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.pytest_cache/
33
.ruff_cache/
44
.venv/
5+
.venv312/
56
build/
67
dist/
78
*.egg-info/

0 commit comments

Comments
 (0)