Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 325d322

Browse files
use gcip docker image in tools.evaluate_git_tag_pep404_conformity instead of installing the pypi package
1 parent cdd6fda commit 325d322

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

gcip/addons/python/jobs.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,10 @@ def evaluate_git_tag_pep404_conformity() -> Job:
9797
job = Job(
9898
name="evaluate_git_tag_pep404_conformity",
9999
namespace="test",
100-
script=[
101-
"pip3 install --upgrade gcip",
102-
"python3 -m gcip.tools.evaluate_git_tag_pep404_conformity",
103-
],
100+
script="python3 -m gcip.tools.evaluate_git_tag_pep404_conformity",
104101
)
105102
job.append_rules(rules.on_tags())
103+
job.set_image("thomass/gcip:0.3.0")
106104
return job
107105

108106

tests/unit/comparison_files/test_python_full_stack_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ test-pytest:
1919
- pip3 install --upgrade -v -r requirements.txt
2020
- pytest
2121
test-evaluate-git-tag-pep404-conformity:
22+
image:
23+
name: thomass/gcip:0.3.0
2224
stage: test
2325
script:
24-
- pip3 install --upgrade gcip
2526
- python3 -m gcip.tools.evaluate_git_tag_pep404_conformity
2627
rules:
2728
- if: $CI_COMMIT_TAG

tests/unit/comparison_files/test_python_full_stack_test_with_mypy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ test-pytest:
1919
- pip3 install --upgrade -v -r requirements.txt
2020
- pytest
2121
test-evaluate-git-tag-pep404-conformity:
22+
image:
23+
name: thomass/gcip:0.3.0
2224
stage: test
2325
script:
24-
- pip3 install --upgrade gcip
2526
- python3 -m gcip.tools.evaluate_git_tag_pep404_conformity
2627
rules:
2728
- if: $CI_COMMIT_TAG

0 commit comments

Comments
 (0)