File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ jobs:
2121 python-version : ${{ matrix.python-version }}
2222 - name : pre-commit
2323 uses :
pre-commit/[email protected] 24- - name : Install from source
25- run : pip install .
26- - name : Test with pytest
27- run : nosetests
24+ - name : Install packages
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install pytest
28+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+ pip install .
2830 build-n-publish :
2931 needs : tests
3032 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2929 uses : actions/setup-python@v4
3030 with :
3131 python-version : ${{ matrix.python-version }}
32+ - name : Install packages
33+ run : |
34+ python -m pip install --upgrade pip
35+ pip install pytest
36+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3237 - name : pre-commit
3338 uses :
pre-commit/[email protected] 3439 - name : Test with pytest
You can’t perform that action at this time.
0 commit comments