add .github/workflows/test.yml
This commit is contained in:
parent
81a5e66b60
commit
146cd71281
2 changed files with 52 additions and 11 deletions
|
@ -1,6 +1,8 @@
|
|||
# © 2018 Gerard Marull-Paretas <gerard@teslabs.com>
|
||||
# © 2014 Mark Harviston <mark.harviston@gmail.com>
|
||||
# © 2014 Arve Knudsen <arve.knudsen@gmail.com>
|
||||
# -*- mode: python; indent-tabs-mode: nil; py-indent-offset: 4; coding: utf-8 -*-
|
||||
|
||||
# (c) 2018 Gerard Marull-Paretas <gerard@teslabs.com>
|
||||
# (c) 2014 Mark Harviston <mark.harviston@gmail.com>
|
||||
# (c) 2014 Arve Knudsen <arve.knudsen@gmail.com>
|
||||
# BSD License
|
||||
|
||||
# phantompy test - just test qasync for now
|
||||
|
@ -9,18 +11,10 @@ import os
|
|||
import logging
|
||||
from pytest import fixture
|
||||
|
||||
|
||||
logging.basicConfig(
|
||||
level=logging.DEBUG, format="%(asctime)s - %(levelname)s - %(name)s - %(message)s"
|
||||
)
|
||||
|
||||
|
||||
if os.name == "nt":
|
||||
collect_ignore = ["qasync/_unix.py"]
|
||||
else:
|
||||
collect_ignore = ["qasync/_windows.py"]
|
||||
|
||||
|
||||
@fixture(scope="session")
|
||||
def application():
|
||||
from phantompy.qasync_phantompy import QApplication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue