Skip to content

Commit c864a2c

Browse files
committed
Add minimum test
1 parent a5bae6e commit c864a2c

File tree

4 files changed

+34
-9
lines changed

4 files changed

+34
-9
lines changed

.github/workflows/tests.yml

+14
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,17 @@ jobs:
4141
run: python -m pip install -r requirements/required.txt -r requirements/test.txt
4242
- name: Test with pytest
4343
run: pytest
44+
45+
minimum:
46+
runs-on: ubuntu-latest
47+
needs: [style]
48+
steps:
49+
- uses: actions/checkout@v4
50+
- name: Set up Python ${{ matrix.python-version }}
51+
uses: actions/setup-python@v5
52+
with:
53+
python-version: 3.9
54+
- name: Install dependencies
55+
run: python -m pip install -r requirements/minimum.old
56+
- name: Test with pytest
57+
run: pytest

requirements/docs.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
sphinx<7
2-
sphinx-book-theme==1.1.2
3-
six==1.15.0
41
autodocsumm
5-
huggingface_hub
2+
huggingface_hub
3+
six==1.15.0
4+
sphinx-book-theme==1.1.2
5+
sphinx<7

requirements/minimum.old

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
efficientnet-pytorch==0.7.1
2+
huggingface_hub>=0.24.6
3+
pillow
4+
pretrainedmodels==0.7.4
5+
six
6+
timm==0.9.7
7+
torchvision>=0.5.0
8+
tqdm
9+
10+
mock
11+
pytest
12+
ruff==0.5.2

requirements/required.txt

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
torchvision>=0.5.0
2-
pretrainedmodels==0.7.4
31
efficientnet-pytorch==0.7.1
4-
timm==0.9.7
52
huggingface_hub>=0.24.6
6-
7-
tqdm
83
pillow
4+
pretrainedmodels==0.7.4
95
six
6+
timm==0.9.7
7+
torchvision>=0.5.0
8+
tqdm

0 commit comments

Comments
 (0)