File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,13 @@ jobs:
2727 run : |
2828 python -m pip install --upgrade pip
2929 pip install flake8
30- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+ pip install pdm
31+ pdm python install ${{ matrix.python-version }}
32+ pdm install
3133 - name : Generate coverage report
3234 run : |
3335 pip install coverage
36+ $(pdm venv activate)
3437 coverage run --source=. -m runtests
3538 coverage xml
3639 - name : Upload coverage to Codecov
Original file line number Diff line number Diff line change 2929 run : |
3030 python -m pip install --upgrade pip
3131 pip install flake8
32- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+ pip install pdm
33+ pdm python install ${{ matrix.python-version }}
34+ pdm install
3335 - name : Lint with flake8
3436 run : |
3537 # stop the build if there are Python syntax errors or undefined names
3840 flake8 . --config=flake8rc --count --exit-zero --max-complexity=100 --max-line-length=127 --statistics
3941 - name : Test with unpythonic.test.fixtures
4042 run : |
43+ $(pdm venv activate)
4144 python runtests.py
You can’t perform that action at this time.
0 commit comments