.gitlab-ci.yml 1.57 KB
Newer Older
Lauren Liberda's avatar
Lauren Liberda committed
1 2 3 4 5 6 7 8
default:
  before_script:
    - apk add bash
    - pip install nose

py2.7-core:
  image: python:2.7
  variables:
9
    HDL_TEST_SET: core
Lauren Liberda's avatar
Lauren Liberda committed
10 11 12 13 14 15 16 17
  before_script:
    - pip install nose
  script:
    - ./devscripts/run_tests.sh

py3.6-core:
  image: python:3.6-alpine
  variables:
18
    HDL_TEST_SET: core
Lauren Liberda's avatar
Lauren Liberda committed
19 20 21 22 23 24
  script:
    - ./devscripts/run_tests.sh

py3.7-core:
  image: python:3.7-alpine
  variables:
25
    HDL_TEST_SET: core
Lauren Liberda's avatar
Lauren Liberda committed
26 27 28 29 30 31
  script:
    - ./devscripts/run_tests.sh

py3.8-core:
  image: python:3.8-alpine
  variables:
32
    HDL_TEST_SET: core
Lauren Liberda's avatar
Lauren Liberda committed
33 34 35 36 37 38
  script:
    - ./devscripts/run_tests.sh

py3.9-core:
  image: python:3.9-alpine
  variables:
39
    HDL_TEST_SET: core
Lauren Liberda's avatar
Lauren Liberda committed
40 41 42 43 44 45
  script:
    - ./devscripts/run_tests.sh

py3.9-download:
  image: python:3.9-alpine
  variables:
46
    HDL_TEST_SET: download
Lauren Liberda's avatar
Lauren Liberda committed
47 48 49
  allow_failure: true
  script:
    - ./devscripts/run_tests.sh
Lauren Liberda's avatar
Lauren Liberda committed
50 51 52 53 54

jython-core:
  image: openjdk:11-slim
  variables:
    HDL_TEST_SET: core
55
  allow_failure: true
Lauren Liberda's avatar
Lauren Liberda committed
56 57 58 59 60 61 62
  before_script:
    - apt-get update
    - apt-get install -y wget
    - ./devscripts/install_jython.sh
    - export PATH="$HOME/jython/bin:$PATH"
  script:
    - ./devscripts/run_tests.sh
Lauren Liberda's avatar
Lauren Liberda committed
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

# uncomment once the images are available
# https://github.com/microsoft/playwright-python/issues/338
# playwright-tests-core:
#   image: mcr.microsoft.com/playwright-python:focal
#   variables:
#     HDL_TEST_SET: core
#   script:
#     - ./devscripts/run_tests.sh

# playwright-tests-download:
#   image: mcr.microsoft.com/playwright-python:focal
#   variables:
#     HDL_TEST_SET: download
#     HDL_TEST_PLAYWRIGHT_DOWNLOAD: 1
#   script:
#     - ./devscripts/run_tests.sh