@@ -19,29 +19,29 @@ jobs:
1919
2020 runs-on : ${{ matrix.os }}
2121 steps :
22- - uses : actions/checkout@v2
22+ - uses : actions/checkout@v2
2323
24- - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v2
26- with :
27- python-version : ${{ matrix.python-version }}
28- architecture : x64
24+ - name : Set up Python ${{ matrix.python-version }}
25+ uses : actions/setup-python@v2
26+ with :
27+ python-version : ${{ matrix.python-version }}
28+ architecture : x64
2929
30- # block below based on:
31- # https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
32- - uses : actions/cache@v2
33- with :
34- path : ${{ env.pythonLocation }}
35- key : ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('pip-freeze.txt') }}
30+ # block below based on:
31+ # https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
32+ - uses : actions/cache@v2
33+ with :
34+ path : ${{ env.pythonLocation }}
35+ key : ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('pip-freeze.txt') }}
3636
37- - name : Install dependencies
38- run : |
39- pip install --upgrade --upgrade-strategy eager setuptools wheel
40- pip install --upgrade --upgrade-strategy eager -r requirements.txt
41- pip freeze > pip-freeze.txt
37+ - name : Install dependencies
38+ run : |
39+ pip install --upgrade --upgrade-strategy eager setuptools wheel
40+ pip install --upgrade --upgrade-strategy eager -r requirements.txt
41+ pip freeze > pip-freeze.txt
4242
43- - name : Test with pytest
44- run : |
45- python setup.py build_ext --inplace
46- pip install -e .
47- python -m pytest
43+ - name : Test with pytest
44+ run : |
45+ python setup.py build_ext --inplace
46+ pip install -e .
47+ python -m pytest
0 commit comments