bugfix:main yml
Remove python 3.5 from the pythons we test since Numba is not compatible with that.
@@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
- python-version: [3.5, 3.6]
+ python-version: [3.6]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@@ -36,34 +36,34 @@ jobs:
- name: Display Python version
run: python -c "import sys; print(sys.version)"
-# # Cache the pip requirmenets for other tests. If requirements cached use them to speed up the build.
-# # Ref: https://github.com/actions/cache/blob/main/examples.md#python---pip
-# - name: Cache pip Linux
-# uses: actions/cache@v2
-# if: startsWith(runner.os, 'Linux')
-# with:
-# path: ~/.cache/pip
-# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
-# restore-keys: |
-# ${{ runner.os }}-pip-
+ # Cache the pip requirmenets for other tests. If requirements cached use them to speed up the build.
+ # Ref: https://github.com/actions/cache/blob/main/examples.md#python---pip
+ - name: Cache pip Linux
+ uses: actions/cache@v2
+ if: startsWith(runner.os, 'Linux')
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
-# - name: Cache pip MacOS
-# uses: actions/cache@v2
-# if: startsWith(runner.os, 'macOS')
-# with:
-# path: ~/Library/Caches/pip
-# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
-# restore-keys: |
-# ${{ runner.os }}-pip-
+ - name: Cache pip MacOS
+ uses: actions/cache@v2
+ if: startsWith(runner.os, 'macOS')
+ with:
+ path: ~/Library/Caches/pip
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
-# - name: Cache pip Windows
-# uses: actions/cache@v2
-# if: startsWith(runner.os, 'Windows')
-# with:
-# path: ~\AppData\Local\pip\Cache
-# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
-# restore-keys: |
-# ${{ runner.os }}-pip-
+ - name: Cache pip Windows
+ uses: actions/cache@v2
+ if: startsWith(runner.os, 'Windows')
+ with:
+ path: ~\AppData\Local\pip\Cache
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
- name: Install dependencies
run: |
