[wip][ci] "before_script" runs before every job

This commit is contained in:
Maxime Alves LIRMM@home 2021-10-12 03:25:59 +02:00
parent 948372fcbc
commit 339c910c86
1 changed files with 6 additions and 6 deletions

View File

@ -23,18 +23,19 @@ cache:
- .cache/pip
- venv/
before_script:
- python -V # Print out python version for debugging
- pip install pipenv
- pipenv install --dev --skip-lock
test:
script:
- python3 -V # Print out python version for debugging
- pip3 install pipenv
- pipenv install --dev --skip-lock
- pipenv run pytest -v
- pipenv run halfapi --version
run:
script:
- python3 -V # Print out python version for debugging
- pip3 install pipenv
- pipenv install --dev --skip-lock
- pipenv run python -m build --sdist
- pipenv run python -m build --wheel
artifacts:
@ -44,5 +45,4 @@ run:
build:
image: docker:19.03.12-dind
script:
- apt-get install python3
- docker build -t halfapi .