Skip to content

Commit 8efa560

Browse files
committed
Stuck macOS CI
1 parent 3da0b12 commit 8efa560

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
pip install -e .
4949
pip install -r requirements.d/dev.txt
5050
51-
- name: Setup tmate session
52-
uses: mxschmitt/action-tmate@v1
51+
# - name: Setup tmate session
52+
# uses: mxschmitt/action-tmate@v1
5353

5454
- name: Test with pytest (Linux)
5555
if: runner.os == 'Linux'
@@ -62,6 +62,7 @@ jobs:
6262
pytest
6363
6464
- name: Upload coverage to Codecov
65+
if: runner.os == 'Linux'
6566
uses: codecov/codecov-action@v1
6667
env:
6768
OS: ${{ runner.os }}

src/vorta/borg/borg_thread.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def cancel(self):
290290
self.process.terminate()
291291
mutex.unlock()
292292
self.terminate()
293+
self.wait()
293294

294295
def process_result(self, result):
295296
pass

src/vorta/keyring/abc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def get_keyring(cls):
1616
Choose available Keyring or save passwords to settings database.
1717
1818
Will always use Keychain on macOS. Will try KWallet and then Secret
19-
Storage on Linux and *BSD. If non are available or usage of system keychain
20-
is disabled, fall back to saving passwords to DB.
19+
Storage on Linux and *BSD. If none are available or usage of system
20+
keychain is disabled, fall back to saving passwords to DB.
2121
"""
2222

2323
from vorta.models import SettingsModel

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import pytest
1+
import os
22
import peewee
3+
import pytest
34
import sys
4-
import os
55
from datetime import datetime as dt
66
from unittest.mock import MagicMock
77

0 commit comments

Comments
 (0)