Skip to content

Commit 064ecdc

Browse files
authored
Merge pull request #58 from codelion/fix-env-var
fix github action
2 parents cd4f5fe + 7f66282 commit 064ecdc

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install setuptools wheel
2525
- name: Run tests
26+
env:
27+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
2628
run: |
2729
pip install pytest pytest-cov pytest-randomly psutil
2830
pip install -e .

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
pip install pytest pytest-cov psutil
2626
2727
- name: Run unit tests
28+
env:
29+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
2830
run: |
2931
pytest tests/ -v --cov=adaptive_classifier --cov-report=xml --cov-report=term -m "not integration"
3032
@@ -56,6 +58,8 @@ jobs:
5658
pip install pytest psutil
5759
5860
- name: Run integration tests
61+
env:
62+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
5963
run: |
6064
pytest tests/test_enterprise_classifiers_integration.py -v -m "integration" --tb=short
6165

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name="adaptive-classifier",
18-
version="0.0.18",
18+
version="0.0.19",
1919
author="codelion",
2020
author_email="codelion@okyasoft.com",
2121
description="A flexible, adaptive classification system for dynamic text classification",

src/adaptive_classifier/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .multilabel import MultiLabelAdaptiveClassifier, MultiLabelAdaptiveHead
55
from huggingface_hub import ModelHubMixin
66

7-
__version__ = "0.0.18"
7+
__version__ = "0.0.19"
88

99
__all__ = [
1010
"AdaptiveClassifier",

0 commit comments

Comments
 (0)