Skip to content
Snippets Groups Projects

first attempt to have tests (fake tests only)

.gitlab-ci.yml 0 → 100644
+ 52
0
 
image: python:latest
 
 
stages:
 
- test-style
 
- test
 
 
before_script:
 
- cat /etc/issue
 
- python -V
 
- which python
 
- python -m venv ../venv
 
- source ../venv/bin/activate
 
- which python
 
- pwd
 
- pip install -U pip
 
- pip --version
 
- pip install pytest black ruff
 
- pytest --version
 
 
 
style:
 
stage: test-style
 
image: python:latest
 
script:
 
- black --version
 
- ruff --version
 
- ruff . || true
 
- black --check --diff . || true
 
 
 
test3-09:
 
stage: test
 
image: python:3.9
 
script:
 
- echo "run tests here later"
 
- python --version
 
 
test3-10:
 
stage: test
 
image: python:3.10
 
script:
 
- echo "run tests here later"
 
- python --version
 
 
 
test3-11:
 
stage: test
 
image: python:3.11
 
script:
 
- echo "run tests here later"
 
- python --version
 
Loading