Skip to content

Commit ca7f2eb

Browse files
authored
✅ Enable pytest on github action (#28)
* ✅ Enable pytest on github action * ➕ Add strenum dependency for python < 3.11 on the pyproject.toml file * ✅ Remove 3.9 and 3.10 python versions from the cicd ga tests
1 parent c707527 commit ca7f2eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/cdci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
strategy:
3636
matrix:
37-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
37+
python-version: ["3.11", "3.12", "3.13"]
3838
steps:
3939
- uses: actions/checkout@v4
4040
- name: Set up Python ${{ matrix.python-version }}
@@ -48,9 +48,8 @@ jobs:
4848
python -m pip install --upgrade pip
4949
pip install pytest
5050
pip install -e .
51-
# - name: Run tests
52-
# run: python -m pytest tests
53-
51+
- name: Run tests
52+
run: python -m pytest tests
5453

5554
publish:
5655
name: Publish package

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ dependencies = [
4040
"acore",
4141
"dash-cytoscape",
4242
"pydantic",
43+
"strenum>=0.4.15,<0.5; python_version < '3.11'",
4344
"nbformat>=4.2.0",
4445
]
4546

0 commit comments

Comments
 (0)