mirror of https://github.com/borgbase/vorta
CI: Add python 3.9, labels, disable macOS mount test. By @samuel-w (#734)
This commit is contained in:
parent
fc2b70db64
commit
529b1da5b1
|
@ -10,7 +10,7 @@ jobs:
|
|||
fail-fast: false
|
||||
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8]
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
exclude:
|
||||
# Only test Python 3.7 on macOS
|
||||
|
@ -18,6 +18,8 @@ jobs:
|
|||
python-version: 3.6
|
||||
- os: macos-latest
|
||||
python-version: 3.8
|
||||
- os: macos-latest
|
||||
python-version: 3.9
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -61,8 +63,12 @@ jobs:
|
|||
coverage run -m pytest
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
env:
|
||||
OS: ${{ runner.os }}
|
||||
python: ${{ matrix.python-version }}
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
env_vars: OS, python
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import sys
|
||||
import psutil
|
||||
from collections import namedtuple
|
||||
import pytest
|
||||
|
@ -78,6 +79,7 @@ def test_check(qapp, mocker, borg_json_output, qtbot):
|
|||
qtbot.waitUntil(lambda: main.logText.text().startswith(success_text), timeout=3000)
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.platform == 'darwin', reason="Test currently broken by Homebrew")
|
||||
def test_archive_mount(qapp, qtbot, mocker, borg_json_output, monkeypatch, choose_file_dialog):
|
||||
def psutil_disk_partitions(**kwargs):
|
||||
DiskPartitions = namedtuple('DiskPartitions', ['device', 'mountpoint'])
|
||||
|
|
Loading…
Reference in New Issue