Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 230181a5 authored by Karine Bauch's avatar Karine Bauch
Browse files

Add template and r2 files

parent 942beeff
No related branches found
No related tags found
1 merge request!10.1.0
files:
template: pytest.yml
documentation: README.md
changelog: CHANGELOG.md
data:
description: "Run pytest on your repository"
icon:
public: False
labels:
- Functional testing
- Utilities
- Python
- pytest
deprecated: False
\ No newline at end of file
include:
- project: 'beebryte/cicd/python-venv'
ref: 'python_venv@0.2.1'
file: 'python_venv.yml'
python_venv:
rules:
- when: never
pytest_venv:
extends: python_venv
stage: build
variables:
PYTHON_SETUP: 'pip install pytest'
VENV_ARTIFACT_NAME: 'pytest_venv'
rules:
- when: null
pytest:
variables:
IMAGE_NAME: 'python'
IMAGE_TAG: 'latest'
IMAGE: '$IMAGE_NAME:$IMAGE_TAG'
PROJECT_CHECK: '.'
image: $IMAGE
stage: test
before_script:
- source venv/bin/activate
script:
- pytest $PROJECT_PATH
needs:
- job: pytest_venv
artifacts: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment