mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: don't install any package with pip, it's supposed to be preinstalled
This commit is contained in:
parent
bed9ecc09e
commit
734db1994c
2 changed files with 0 additions and 12 deletions
|
@ -1,6 +1,3 @@
|
||||||
.install_tox: &install_tox
|
|
||||||
- pip3 install -U tox --break-system-packages
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
# LINTER
|
# LINTER
|
||||||
########################################
|
########################################
|
||||||
|
@ -11,8 +8,6 @@ lint311:
|
||||||
image: "before-install"
|
image: "before-install"
|
||||||
needs: []
|
needs: []
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
before_script:
|
|
||||||
- *install_tox
|
|
||||||
script:
|
script:
|
||||||
- tox -e py311-lint
|
- tox -e py311-lint
|
||||||
|
|
||||||
|
@ -20,8 +15,6 @@ invalidcode311:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: "before-install"
|
image: "before-install"
|
||||||
needs: []
|
needs: []
|
||||||
before_script:
|
|
||||||
- *install_tox
|
|
||||||
script:
|
script:
|
||||||
- tox -e py311-invalidcode
|
- tox -e py311-invalidcode
|
||||||
|
|
||||||
|
@ -29,8 +22,6 @@ mypy:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: "before-install"
|
image: "before-install"
|
||||||
needs: []
|
needs: []
|
||||||
before_script:
|
|
||||||
- *install_tox
|
|
||||||
script:
|
script:
|
||||||
- tox -e py311-mypy
|
- tox -e py311-mypy
|
||||||
|
|
||||||
|
@ -38,8 +29,6 @@ black:
|
||||||
stage: lint
|
stage: lint
|
||||||
image: "before-install"
|
image: "before-install"
|
||||||
needs: []
|
needs: []
|
||||||
before_script:
|
|
||||||
- *install_tox
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y && apt-get install git hub -y
|
- apt-get update -y && apt-get install git hub -y
|
||||||
- git config --global user.email "yunohost@yunohost.org"
|
- git config --global user.email "yunohost@yunohost.org"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
.install_debs: &install_debs
|
.install_debs: &install_debs
|
||||||
- apt-get update -o Acquire::Retries=3
|
- apt-get update -o Acquire::Retries=3
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb php8.2-cli mariadb-client mariadb-server
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ${CI_PROJECT_DIR}/*.deb php8.2-cli mariadb-client mariadb-server
|
||||||
- pip3 install -U mock pip pytest pytest-cov pytest-mock pytest-sugar requests-mock tox ansi2html black jinja2 "packaging<22" --break-system-packages # for bookworm
|
|
||||||
|
|
||||||
.test-stage:
|
.test-stage:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Add table
Reference in a new issue