[gi-docgen/ci-fixes: 1/2] ci: Install reuse from pip
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen/ci-fixes: 1/2] ci: Install reuse from pip
- Date: Mon, 9 Aug 2021 18:03:17 +0000 (UTC)
commit b801008a0b1ff6d79228908ceb47f4d580a904f9
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Aug 9 19:02:06 2021 +0100
ci: Install reuse from pip
The reuse packaged for Fedora is broken.
.gitlab-ci.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05735f9..1bfef6b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,6 +22,10 @@ stages:
# - dnf install -y python3-pip
# - python3 -m pip install --user -e .
+.pip:
+ before_script:
+ - dnf install -y python3-pip
+
flake8:
stage: check
needs: []
@@ -38,17 +42,19 @@ mypy:
allow_failure: true
reuse:
+ extends: .pip
stage: check
needs: []
script:
- - dnf install -y reuse
+ - pip install --user reuse
- reuse lint
pages:
+ extends: .pip
stage: deploy
needs: []
script:
- - dnf install -y make python3-sphinx python3-sphinx_rtd_theme
+ - pip install --user sphinx sphinx_rtd_theme
- cd docs
- make
- mv _build ../public
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]