5555 strategy :
5656 matrix :
5757 os : [ubuntu-latest, macos-latest, windows-latest]
58- # python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
59- python-version : ['3.9']
58+ python-version : ['3.7', '3.8', '3.9', '3.10', '3.11']
6059 steps :
6160 - uses : actions/checkout@v3
6261 - name : Fix Broken Python 3.7.17 (no _bz2 module)
@@ -85,14 +84,10 @@ jobs:
8584 brew link --force libomp
8685 echo "Checking /usr/local/lib for OpenMP"
8786 ls /usr/local/lib | grep lib*omp*.dylib
88- echo "Checking miniconda/lib for OpenMP"
89- echo "$(python -c 'import site; print(site.getsitepackages()[0])')" | grep -o '^.*lib'
90- echo "$(python -c 'import site; print(site.getsitepackages()[0])')" | grep -o '^.*lib' | ls libiomp5.dylib
9187 # echo "Changing @rpath for the omppool.cpython-x-darwin.so shared object to look in /usr/local/lib"
9288 # ls "$(python -c 'import site; print(site.getsitepackages()[0])')"/numba/np/ufunc/omppool.*.so | xargs install_name_tool -change @rpath/libomp.dylib /usr/local/lib/libomp.dylib
93- # ls "$(python -c 'import site; print(site.getsitepackages()[0])')"/numba/np/ufunc/omppool.*.so | xargs install_name_tool -change @rpath/libiomp5.dylib /usr/local/lib/libiomp5.dylib
94- echo "Checking Numba OpenMP Access"
95- python -c "from numba.np.ufunc import omppool"
89+ # echo "Checking Numba OpenMP Access"
90+ # python -c "from numba.np.ufunc import omppool"
9691 fi
9792 shell : bash
9893 - name : Show Full Numba Environment
@@ -101,47 +96,47 @@ jobs:
10196 - name : Run Unit Tests
10297 run : ./test.sh unit
10398 shell : bash
104- # coverage-testing:
105- # runs-on: ${{ matrix.os }}
106- # strategy:
107- # matrix:
108- # os: [ubuntu-latest, macos-latest, windows-latest]
109- # python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
110- # steps:
111- # - uses: actions/checkout@v3
112- # - name: Fix Broken Python 3.7.17 (no _bz2 module)
113- # run: rm -rf $RUNNER_TOOL_CACHE/Python/3.7.17
114- # shell: bash
115- # - name: Set Up Python
116- # uses: actions/setup-python@v4
117- # with:
118- # python-version: ${{ matrix.python-version }}
119- # - name: Display Python Version
120- # run: python -c "import sys; print(sys.version)"
121- # shell: bash
122- # - name: Install STUMPY And Other Dependencies
123- # run: python -m pip install --editable .[ci]
124- # shell: bash
125- # - name: Run Black
126- # run: black --check --diff ./
127- # shell: bash
128- # - name: Run Flake8
129- # run: flake8 ./
130- # shell: bash
131- # - name: Link OpenMP
132- # run: |
133- # if [ "$RUNNER_OS" == "macOS" ]; then
134- # brew link --force libomp
135- # fi
136- # shell: bash
137- # - name: Show Full Numba Environment
138- # run: python -m numba -s
139- # shell: bash
140- # - name: Run Coverage Tests
141- # run: ./test.sh coverage
142- # shell: bash
143- # - name: Check Coverage Report
144- # run: coverage report -m --fail-under=100 --skip-covered --omit=setup.py,docstring.py,stumpy/cache.py
145- # shell: bash
146- # - name: Upload Coverage Tests Results
147- # uses: codecov/codecov-action@v3
99+ coverage-testing :
100+ runs-on : ${{ matrix.os }}
101+ strategy :
102+ matrix :
103+ os : [ubuntu-latest, macos-latest, windows-latest]
104+ python-version : ['3.7', '3.8', '3.9', '3.10', '3.11']
105+ steps :
106+ - uses : actions/checkout@v3
107+ - name : Fix Broken Python 3.7.17 (no _bz2 module)
108+ run : rm -rf $RUNNER_TOOL_CACHE/Python/3.7.17
109+ shell : bash
110+ - name : Set Up Python
111+ uses : actions/setup-python@v4
112+ with :
113+ python-version : ${{ matrix.python-version }}
114+ - name : Display Python Version
115+ run : python -c "import sys; print(sys.version)"
116+ shell : bash
117+ - name : Install STUMPY And Other Dependencies
118+ run : python -m pip install --editable .[ci]
119+ shell : bash
120+ - name : Run Black
121+ run : black --check --diff ./
122+ shell : bash
123+ - name : Run Flake8
124+ run : flake8 ./
125+ shell : bash
126+ - name : Link OpenMP
127+ run : |
128+ if [ "$RUNNER_OS" == "macOS" ]; then
129+ brew link --force libomp
130+ fi
131+ shell : bash
132+ - name : Show Full Numba Environment
133+ run : python -m numba -s
134+ shell : bash
135+ - name : Run Coverage Tests
136+ run : ./test.sh coverage
137+ shell : bash
138+ - name : Check Coverage Report
139+ run : coverage report -m --fail-under=100 --skip-covered --omit=setup.py,docstring.py,stumpy/cache.py
140+ shell : bash
141+ - name : Upload Coverage Tests Results
142+ uses : codecov/codecov-action@v3
0 commit comments