@@ -22,13 +22,13 @@ stages:
22
22
developer_tests :
23
23
stage : developer_tests
24
24
rules :
25
- - when : always # Run on all branches
26
-
25
+ - when : always # Run on all branches
26
+
27
27
before_script :
28
28
- python --version
29
29
- apt-get update -y
30
30
- apt-get install make -y
31
- - pip install ruff
31
+ - pip install ruff pre-commit
32
32
# Install dependencies needed by publish.py for test imports
33
33
- pip install typer rich boto3
34
34
# Install test dependencies
@@ -37,7 +37,7 @@ developer_tests:
37
37
script :
38
38
- make lint-cicd
39
39
- make test-cicd -C lib/idp_common_pkg
40
-
40
+
41
41
artifacts :
42
42
paths :
43
43
- lib/idp_common_pkg/test-reports/coverage.xml
@@ -56,9 +56,9 @@ integration_tests:
56
56
# AWS_CREDS_TARGET_ROLE: ${AWS_CREDS_TARGET_ROLE}
57
57
# AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
58
58
# IDP_ACCOUNT_ID: ${IDP_ACCOUNT_ID}
59
-
60
- # Add rules to only run on develop branch
61
- # Add rules to only run on develop branch
59
+
60
+ # Add rules to only run on develop branch
61
+ # Add rules to only run on develop branch
62
62
rules :
63
63
- if : $CI_COMMIT_BRANCH == "develop"
64
64
when : always # always # When idp-accelerator CICD is reconfigured
@@ -70,13 +70,13 @@ integration_tests:
70
70
when : manual
71
71
- if : $CI_COMMIT_BRANCH =~ /^release\/.*/
72
72
when : manual
73
- - when : manual # This will make it available on all other branches
73
+ - when : manual # This will make it available on all other branches
74
74
75
75
before_script :
76
76
- python --version
77
77
- apt-get update -y
78
78
- apt-get install zip unzip curl make -y
79
-
79
+
80
80
# Install Poetry
81
81
- curl -sSL https://install.python-poetry.org | python3 -
82
82
- export PATH="/root/.local/bin:$PATH"
@@ -113,4 +113,3 @@ deployment_validation:
113
113
script :
114
114
# Check if service role has sufficient permissions for main stack deployment
115
115
- python3 scripts/validate_service_role_permissions.py
116
-
0 commit comments