File: .gitlab-ci.yml

package info (click to toggle)
python-ewoksorange 0.9.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 716 kB
  • sloc: python: 4,770; makefile: 3
file content (70 lines) | stat: -rw-r--r-- 1,815 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
include:
  - project: dau/ci/pyci
    file: .gitlab-ci-template.yml

variables:
  WARNING1: "ignore::ResourceWarning:orangecanvas.utils.localization" # https://github.com/biolab/orange-canvas-core/pull/312
  IGNORE_WARNINGS: "-W ${WARNING1}"

test-3.8-orange:
  extends: .test-3.8_glx
  script:
    - echo PIP_INSTALL_OPTIONS $PIP_INSTALL_OPTIONS
    - python -m pip install $PIP_INSTALL_OPTIONS .[test,orange]
    - !reference [.test-3.8_glx, script]
  variables:
    JUPYTER_PLATFORM_DIRS: 1
    PYTEST_WARNINGS: "-W error ${IGNORE_WARNINGS}"

test-3.9-orange:
  extends: .test-3.9_glx
  script:
    - echo PIP_INSTALL_OPTIONS $PIP_INSTALL_OPTIONS
    - python -m pip install $PIP_INSTALL_OPTIONS .[test,orange]
    - !reference [.test-3.9_glx, script]
  variables:
    JUPYTER_PLATFORM_DIRS: 1
    PYTEST_WARNINGS: "-W error ${IGNORE_WARNINGS}"

test-3.12-orange:
  extends: .test-3.12_glx
  script:
    - echo PIP_INSTALL_OPTIONS $PIP_INSTALL_OPTIONS
    - python -m pip install $PIP_INSTALL_OPTIONS .[test,orange]
    - !reference [.test-3.12_glx, script]
  variables:
    JUPYTER_PLATFORM_DIRS: 1
    PYTEST_WARNINGS: "-W error ${IGNORE_WARNINGS}"

test-3.8-oasys:
  extends: .test-3.8_glx
  script:
    - python -m pip install oasys1 AnyQt
    - python -m pip install ewokscore importlib-resources pytest
    - python -m pip install --no-deps .
    - python -m pip list
    - python -m pytest -v .

build_sdist:
  extends: .build_sdist

test_sdist-3.8:
  extends: .test_sdist-3.8_glx
  variables:
    JUPYTER_PLATFORM_DIRS: 1
    PYTEST_WARNINGS: "-W error ${IGNORE_WARNINGS}"

test_sdist-3.12:
  extends: .test_sdist-3.12_glx
  variables:
    JUPYTER_PLATFORM_DIRS: 1
    PYTEST_WARNINGS: "-W error ${IGNORE_WARNINGS}"

build_doc:
  extends: .build_doc

pages:
  extends: .pages

assets:
  extends: .assets