Skip to content

Commit c0a75bd

Browse files
authored
Ci python 38 (#1220)
* Install custom numpy version for specific combination of Python3.8 and numpy * Debug output * Change syntax * move to coverage action v3 * Remove test output
1 parent 687a0f1 commit c0a75bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ jobs:
7272
- name: Install scikit-learn ${{ matrix.scikit-learn }}
7373
run: |
7474
pip install scikit-learn==${{ matrix.scikit-learn }}
75+
- name: Install numpy for Python 3.8
76+
# Python 3.8 & scikit-learn<0.24 requires numpy<=1.23.5
77+
if: ${{ matrix.python-version == '3.8' && contains(fromJSON('["0.23.1", "0.22.2", "0.21.2"]'), matrix.scikit-learn) }}
78+
run: |
79+
pip install numpy==1.23.5
7580
- name: Install scipy ${{ matrix.scipy }}
7681
if: ${{ matrix.scipy }}
7782
run: |
@@ -105,7 +110,7 @@ jobs:
105110
fi
106111
- name: Upload coverage
107112
if: matrix.code-cov && always()
108-
uses: codecov/codecov-action@v1
113+
uses: codecov/codecov-action@v3
109114
with:
110115
files: coverage.xml
111116
fail_ci_if_error: true

0 commit comments

Comments
 (0)