@@ -26,17 +26,16 @@ stages:
2626developer_tests :
2727 stage : developer_tests
2828 rules :
29- - when : always # Run on all branches
30-
29+ - when : always # Run on all branches
30+
3131 before_script :
3232 - python --version
3333 - apt-get update -y
3434 - apt-get install make curl git -y
3535 # Fetch main branch for comparison in typecheck-pr
3636 - git fetch origin main:main || echo "Could not fetch main branch"
3737 # Install uv
38- - curl -LsSf https://astral.sh/uv/install.sh | sh
39- - export PATH="$HOME/.cargo/bin:$PATH"
38+ - pip install uv
4039 # Create virtual environment
4140 - uv venv .venv
4241 - source .venv/bin/activate
@@ -54,7 +53,7 @@ developer_tests:
5453 - make lint-cicd
5554 - make typecheck-cicd
5655 - make test-cicd -C lib/idp_common_pkg
57-
56+
5857 artifacts :
5958 paths :
6059 - lib/idp_common_pkg/test-reports/coverage.xml
@@ -93,8 +92,8 @@ integration_tests:
9392 # AWS_CREDS_TARGET_ROLE: ${AWS_CREDS_TARGET_ROLE}
9493 # AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
9594 # IDP_ACCOUNT_ID: ${IDP_ACCOUNT_ID}
96-
97- # Add rules to only run on develop branch
95+
96+ # Add rules to only run on develop branch
9897 rules :
9998 - if : $CI_COMMIT_BRANCH == "develop"
10099 when : on_success
@@ -121,11 +120,12 @@ integration_tests:
121120 script :
122121 - aws --version
123122 - aws sts get-caller-identity --no-cli-pager
124-
123+
125124 # Set environment variables for Python script
126125 - export IDP_ACCOUNT_ID=${IDP_ACCOUNT_ID:-020432867916}
127126 - export AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION:-us-east-1}
128127 - export IDP_PIPELINE_NAME=idp-sdlc-deploy-pipeline
129-
128+
130129 # Run integration test deployment
131- - python3 scripts/integration_test_deployment.py
130+ - python3 scripts/integration_test_deployment.py
131+
0 commit comments