Updated tests to run in GitHub actions

This commit is contained in:
Rhet Turnbull
2020-10-03 13:48:18 -07:00
parent 2e652b04d0
commit 4099253c8e
4 changed files with 24 additions and 2 deletions

View File

@@ -1,7 +1,13 @@
import os
import pytest
from osxphotos._constants import _UNKNOWN_PERSON
skip_test = "OSXPHOTOS_TEST_CONVERT" not in os.environ
pytestmark = pytest.mark.skipif(
skip_test, reason="Skip if running on GitHub actions, no GPU."
)
PHOTOS_DB = "tests/Test-10.15.6.photoslibrary"
UUID_DICT = {