diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 29090b4..5cf2bed 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -75,7 +75,10 @@ jobs: python-version: ${{matrix.py_ver}} - name: Install dependencies run: | - pip install tensorflow==${{matrix.tf_ver}}.* + if [ ${{matrix.tf_ver}} == 2.10 ] || [ ${{matrix.tf_ver}} == 2.11 ];then + extra_req='numpy<2' + fi + pip install tensorflow==${{matrix.tf_ver}}.* $extra_req pip install -r requirements_test.txt pip list - name: Run pytest