[gi-docgen] ci: Depend on fedora for the various jobs
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen] ci: Depend on fedora for the various jobs
- Date: Sun, 22 May 2022 13:44:56 +0000 (UTC)
commit a952ac604e8fbacd07e05a14f2d122c2988e3f4a
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun May 22 14:41:54 2022 +0100
ci: Depend on fedora for the various jobs
We're calling dnf directly, so we need a Fedora image.
.gitlab-ci.yml | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dc1159c..780d46f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,7 @@ stages:
# - python3 -m pip install --user -e .
.pip:
+ image: fedora:latest
before_script:
- export PATH="$HOME/.local/bin:$PATH"
- dnf install -y python3-pip
@@ -30,6 +31,7 @@ stages:
pytest:
stage: check
needs: []
+ image: fedora:latest
script:
- dnf install -y pytest python3-markdown python3-jinja2 python3-pygments python3-toml python3-typogrify
- pytest --verbose
@@ -37,6 +39,7 @@ pytest:
flake8:
stage: check
needs: []
+ image: fedora:latest
script:
- dnf install -y python3-flake8
- flake8 --ignore E501,E402,F405,W503 --show-source gidocgen
@@ -44,6 +47,7 @@ flake8:
mypy:
stage: check
needs: []
+ image: fedora:latest
script:
- dnf install -y python3-mypy
- mypy --ignore-missing-imports --disallow-incomplete-defs gidocgen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]