Skip to content

Commit a2c885e

Browse files
authored
Added -* to whl + refactored CIs
1 parent 06c4dd6 commit a2c885e

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
python-version: '3.x'
1616

1717
- name: Install deps
18-
run: |
19-
pip install setuptools wheel
18+
run: pip install setuptools wheel
2019

2120
- name: Build wheels
2221
run: python setup.py sdist bdist_wheel

.github/workflows/tests_full.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,10 @@ jobs:
5656
name: "Python wheel"
5757

5858
- name: Install dependencies
59-
run: |
60-
pip install tensorflow==${{ matrix.tf-version }} protobuf==3.20.* opencv-python-headless scikit-image
61-
pip install pytest
59+
run: pip install tensorflow==${{ matrix.tf-version }} protobuf==3.20.* opencv-python-headless scikit-image pytest
6260

6361
- name: Install wheel
64-
run: pip install --find-links=${{github.workspace}} torchstain
62+
run: pip install --find-links=${{github.workspace}} torchstain-*
6563
shell: bash
6664

6765
- name: Run tests
@@ -96,12 +94,10 @@ jobs:
9694
name: "Python wheel"
9795

9896
- name: Install dependencies
99-
run: |
100-
pip install torch==${{ matrix.pytorch-version }} torchvision opencv-python-headless scikit-image
101-
pip install pytest
97+
run: pip install torch==${{ matrix.pytorch-version }} torchvision opencv-python-headless scikit-image pytest
10298

10399
- name: Install wheel
104-
run: pip install --find-links=${{github.workspace}} torchstain
100+
run: pip install --find-links=${{github.workspace}} torchstain-*
105101
shell: bash
106102

107103
- name: Run tests

.github/workflows/tests_quick.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ jobs:
4848
name: "Python wheel"
4949

5050
- name: Install dependencies
51-
run: |
52-
pip install tensorflow protobuf==3.20.* opencv-python-headless scikit-image
53-
pip install pytest
51+
run: pip install tensorflow protobuf==3.20.* opencv-python-headless scikit-image pytest
5452

5553
- name: Install wheel
56-
run: pip install --find-links=${{github.workspace}} torchstain
54+
run: pip install --find-links=${{github.workspace}} torchstain-*
5755
shell: bash
5856

5957
- name: Run tests
@@ -76,12 +74,10 @@ jobs:
7674
name: "Python wheel"
7775

7876
- name: Install dependencies
79-
run: |
80-
pip install torch torchvision opencv-python-headless scikit-image
81-
pip install pytest
77+
run: pip install torch torchvision opencv-python-headless scikit-image pytest
8278

8379
- name: Install wheel
84-
run: pip install --find-links=${{github.workspace}} torchstain
80+
run: pip install --find-links=${{github.workspace}} torchstain-*
8581
shell: bash
8682

8783
- name: Run tests

0 commit comments

Comments
 (0)