File tree 4 files changed +71
-113
lines changed 4 files changed +71
-113
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : main
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+
11
+ jobs :
12
+ test :
13
+ runs-on : ${{ matrix.os }}
14
+ timeout-minutes : 30
15
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ os : [macos-latest, windows-latest, ubuntu-latest]
19
+ python : [3.7, 3.8]
20
+ include :
21
+ - python : 3.7
22
+ tox_env : py37
23
+ - python : 3.8
24
+ tox_env : py38
25
+
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - name : Setup Python
29
+ uses : actions/setup-python@v2
30
+ with :
31
+ python-version : ${{ matrix.python }}
32
+ - name : Install Tox
33
+ run : python -m pip install tox
34
+ - name : Set env
35
+ run : echo ::set-env name=QT_QPA_PLATFORM::offscreen
36
+ if : ${{ matrix.os == 'ubuntu-latest' }}
37
+ - name : Run Tox
38
+ run : python -m tox -e ${{ matrix.tox_env }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ [tox]
2
+ envlist =
3
+ py{37,38}
4
+ skip_missing_interpreters = true
5
+ isolated_build = true
6
+ minversion = 3.7.0
7
+
8
+ [testenv]
9
+ extras = test
10
+ passenv = *
11
+ # we MUST changedir to avoid installed being shadowed by working dir
12
+ # https://github.com/tox-dev/tox/issues/54
13
+ # https://github.com/tox-dev/tox/issues/514
14
+ changedir =
15
+ {envsitepackagesdir}
16
+ setenv =
17
+ # Raise deprecations as errors in our tests
18
+ # ORANGE_DEPRECATIONS_ERROR=y
19
+ # Need this otherwise unittest installs a warning filter that overrides
20
+ # our desire to have OrangeDeprecationWarnings raised
21
+ # PYTHONWARNINGS=module
22
+ deps =
23
+ pyqt5
24
+ pyqtwebengine
25
+ commands_pre =
26
+ pip --version
27
+ # Verify installed packages have compatible dependencies
28
+ pip check
29
+ # freeze environment
30
+ pip freeze
31
+ commands =
32
+ python -m pytest orangecontrib/single_cell/tests -l
33
+
You can’t perform that action at this time.
0 commit comments