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