12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- webui:
- stage: build
- image: node:14
- cache:
- paths:
- - webui/node_modules/
- before_script:
- - cd webui/
- - npm install
- script:
- - npm run build
- artifacts:
- expire_in: 1 day
- paths:
- - webui/dist/
- tests_3.6:
- stage: test
- image: python:3.6
- variables:
- PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
- cache:
- paths:
- - .cache/pip
- - env/
- before_script:
- - python -V
- - python -m venv env
- - source env/bin/activate
- - pip install coverage
- script:
- - coverage run --source=pycs/ -m unittest discover test/
- tests_3.7:
- stage: test
- image: python:3.7
- variables:
- PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
- cache:
- paths:
- - .cache/pip
- - env/
- before_script:
- - python -V
- - python -m venv env
- - source env/bin/activate
- - pip install coverage
- script:
- - coverage run --source=pycs/ -m unittest discover test/
- tests_3.8:
- stage: test
- image: python:3.8
- variables:
- PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
- cache:
- paths:
- - .cache/pip
- - env/
- before_script:
- - python -V
- - python -m venv env
- - source env/bin/activate
- - pip install coverage
- script:
- - coverage run --source=pycs/ -m unittest discover test/
- tests_3.9:
- stage: test
- image: python:3.9
- variables:
- PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
- cache:
- paths:
- - .cache/pip
- - env/
- before_script:
- - python -V
- - python -m venv env
- - source env/bin/activate
- - pip install coverage
- script:
- - coverage run --source=pycs/ -m unittest discover test/
- - coverage report -m
|