test: audit suite for meaningfulness, reach 100% coverage #66
@@ -16,9 +16,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
# Mirrors the Dockerfile: the container installs qbittorrent-api
|
# Mirrors the Dockerfile: the container installs qbittorrent-api
|
||||||
# unpinned, so requirements.txt is not used here.
|
# unpinned, so requirements.txt is not used here.
|
||||||
|
# --break-system-packages: the runner image ships a Debian-packaged
|
||||||
|
# pip, so a plain install (or `pip install --upgrade pip`) fails
|
||||||
|
# with "RECORD file not found".
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --break-system-packages requests qbittorrent-api coverage
|
||||||
python3 -m pip install requests qbittorrent-api coverage
|
|
||||||
- name: Run the full suite with coverage
|
- name: Run the full suite with coverage
|
||||||
run: |
|
run: |
|
||||||
python3 -m coverage run --rcfile=.coveragerc -m unittest \
|
python3 -m coverage run --rcfile=.coveragerc -m unittest \
|
||||||
|
|||||||
Reference in new issue
Block a user