Skip to content

Commit e308120

Browse files
test new ci/cd workflow
1 parent 3e34eb5 commit e308120

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
tags: |
5454
${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/model-platform/${{ matrix.image.name }}:${{ env.IMAGE_TAG }}
5555
56-
test-and-quality-check:
56+
unit-tests-and-quality-check:
5757
runs-on: ubuntu-22.04
5858
environment: dev
5959
steps:
@@ -85,7 +85,7 @@ jobs:
8585
if: github.event_name == 'push' && github.ref_name != 'main'
8686
runs-on: ubuntu-22.04
8787
environment: dev
88-
needs: [test-and-quality-check, build-ci-images]
88+
needs: [unit-tests-and-quality-check, build-ci-images]
8989
steps:
9090
- uses: actions/checkout@v4
9191

@@ -158,7 +158,7 @@ jobs:
158158
--from-literal=ADMIN_EMAIL='admin@test.com' \
159159
--from-literal=ADMIN_PASSWORD='test_admin_password'
160160
kubectl apply -f infrastructure/k8s/backend-deployment.yaml
161-
kubectl wait --for=condition=available deployment/backend -n model-platform --timeout=180s
161+
162162
echo "Backend deployed, checking pods..."
163163
kubectl get pods -n model-platform
164164
@@ -176,7 +176,7 @@ jobs:
176176
if: github.event_name == 'push' && github.ref_name != 'main'
177177
runs-on: ubuntu-22.04
178178
environment: dev
179-
needs: [test-and-quality-check, build-ci-images]
179+
needs: [unit-tests-and-quality-check, build-ci-images]
180180
steps:
181181
- uses: actions/checkout@v4
182182

@@ -279,7 +279,7 @@ jobs:
279279
build-release-images:
280280
if: github.event_name == 'push' && github.ref_name == 'main'
281281
runs-on: ubuntu-22.04
282-
needs: [test-and-quality-check]
282+
needs: [unit-tests-and-quality-check]
283283
strategy:
284284
matrix:
285285
image:

0 commit comments

Comments
 (0)