Skip to content

Commit

Permalink
Removed python 2.7 from ci because it's no longer supported by ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yglukhov committed Nov 17, 2023
1 parent d4877a9 commit a605cd0
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
nim-channel: [stable, devel]
python-version: ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
exclude:
- os: windows-latest
python-version: "2.7" # DLL not found, specific to CI?
- os: macos-latest
python-version: "2.7" # DLL not found, specific to CI?
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

name: ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.nim-channel }}
runs-on: ${{ matrix.os }}
Expand All @@ -42,11 +37,8 @@ jobs:
run: |
export NIMPY_PY_EXES=python
python --version
if [ "${{ matrix.python-version }}" != "2.7" ]
then
LIBPYTHON=$(python -c 'import find_libpython; print(find_libpython.find_libpython())')
echo "libpython: $LIBPYTHON"
fi
LIBPYTHON=$(python -c 'import find_libpython; print(find_libpython.find_libpython())')
echo "libpython: $LIBPYTHON"
python -c "import numpy; print('numpy: ', numpy.__version__)"
nim --version
Expand Down

0 comments on commit a605cd0

Please sign in to comment.