drop 3.8, add pytest-retry (#592)
* drop 3.8, add pytest-retry * fix mypy * fix missing import
This commit is contained in:
parent
08d9f3049c
commit
828b1b9810
26 changed files with 321 additions and 362 deletions
3
.github/workflows/coverage.yml
vendored
3
.github/workflows/coverage.yml
vendored
|
|
@ -39,8 +39,7 @@ jobs:
|
|||
curl -o tests/test.mp3 https://www.kozco.com/tech/piano2-CoolEdit.mp3
|
||||
cat <<< "$HEADERS_AUTH" > tests/browser.json
|
||||
cat <<< "$TEST_CFG" > tests/test.cfg
|
||||
(echo "===== tests attempt: 1 ====" && pdm run pytest) || \
|
||||
(echo "===== tests attempt: 2 ====" && pdm run pytest)
|
||||
pdm run pytest
|
||||
pdm run coverage xml
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v4
|
||||
|
|
|
|||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -26,6 +26,6 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
python-version: "3.9"
|
||||
- run: pip install mypy==1.10.0
|
||||
- run: mypy --install-types --non-interactive
|
||||
|
|
|
|||
Loading…
Reference in a new issue