Skip to content

Commit e457e0a

Browse files
committed
CCM-10980: restore pipelines
1 parent e629f3b commit e457e0a

File tree

2 files changed

+57
-57
lines changed

2 files changed

+57
-57
lines changed

.github/workflows/stage-2-test.yaml

Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -62,60 +62,60 @@ jobs:
6262
steps:
6363
- name: "Checkout code"
6464
uses: actions/checkout@v4
65-
# - name: "Repo setup"
66-
# run: |
67-
# npm ci
68-
# - name: "Generate dependencies"
69-
# run: |
70-
# npm run generate-dependencies --workspaces --if-present
71-
# - name: "Run unit test suite"
72-
# run: |
73-
# make test-unit
74-
# - name: "Save the result of fast test suite"
75-
# uses: actions/upload-artifact@v4
76-
# with:
77-
# name: unit-tests
78-
# path: "**/.reports/unit"
79-
# include-hidden-files: true
80-
# if: always()
81-
# - name: "Save the result of code coverage"
82-
# uses: actions/upload-artifact@v4
83-
# with:
84-
# name: code-coverage-report
85-
# path: ".reports/lcov.info"
86-
# if: always()
65+
- name: "Repo setup"
66+
run: |
67+
npm ci
68+
- name: "Generate dependencies"
69+
run: |
70+
npm run generate-dependencies --workspaces --if-present
71+
- name: "Run unit test suite"
72+
run: |
73+
make test-unit
74+
- name: "Save the result of fast test suite"
75+
uses: actions/upload-artifact@v4
76+
with:
77+
name: unit-tests
78+
path: "**/.reports/unit"
79+
include-hidden-files: true
80+
if: always()
81+
- name: "Save the result of code coverage"
82+
uses: actions/upload-artifact@v4
83+
with:
84+
name: code-coverage-report
85+
path: ".reports/lcov.info"
86+
if: always()
8787
test-lint:
8888
name: "Linting"
8989
runs-on: ubuntu-latest
9090
timeout-minutes: 5
9191
steps:
9292
- name: "Checkout code"
9393
uses: actions/checkout@v4
94-
# - name: "Repo setup"
95-
# run: |
96-
# npm ci
97-
# - name: "Generate dependencies"
98-
# run: |
99-
# npm run generate-dependencies --workspaces --if-present
100-
# - name: "Run linting"
101-
# run: |
102-
# make test-lint
94+
- name: "Repo setup"
95+
run: |
96+
npm ci
97+
- name: "Generate dependencies"
98+
run: |
99+
npm run generate-dependencies --workspaces --if-present
100+
- name: "Run linting"
101+
run: |
102+
make test-lint
103103
test-typecheck:
104104
name: "Typecheck"
105105
runs-on: ubuntu-latest
106106
timeout-minutes: 5
107107
steps:
108108
- name: "Checkout code"
109109
uses: actions/checkout@v4
110-
# - name: "Repo setup"
111-
# run: |
112-
# npm ci
113-
# - name: "Generate dependencies"
114-
# run: |
115-
# npm run generate-dependencies --workspaces --if-present
116-
# - name: "Run typecheck"
117-
# run: |
118-
# make test-typecheck
110+
- name: "Repo setup"
111+
run: |
112+
npm ci
113+
- name: "Generate dependencies"
114+
run: |
115+
npm run generate-dependencies --workspaces --if-present
116+
- name: "Run typecheck"
117+
run: |
118+
make test-typecheck
119119
test-coverage:
120120
name: "Test coverage"
121121
needs: [test-unit]
@@ -124,12 +124,12 @@ jobs:
124124
steps:
125125
- name: "Checkout code"
126126
uses: actions/checkout@v4
127-
# - name: "Run test coverage check"
128-
# run: |
129-
# make test-coverage
130-
# - name: "Save the coverage check result"
131-
# run: |
132-
# echo "Nothing to save"
127+
- name: "Run test coverage check"
128+
run: |
129+
make test-coverage
130+
- name: "Save the coverage check result"
131+
run: |
132+
echo "Nothing to save"
133133
perform-static-analysis:
134134
name: "Perform static analysis"
135135
needs: [test-unit]
@@ -143,13 +143,13 @@ jobs:
143143
uses: actions/checkout@v4
144144
with:
145145
fetch-depth: 0 # Full history is needed to improving relevancy of reporting
146-
# - name: "Download coverage report for SONAR"
147-
# uses: actions/download-artifact@v4
148-
# with:
149-
# name: code-coverage-report
150-
# - name: "Perform static analysis"
151-
# uses: ./.github/actions/perform-static-analysis
152-
# with:
153-
# sonar_organisation_key: "${{ vars.SONAR_ORGANISATION_KEY }}"
154-
# sonar_project_key: "${{ vars.SONAR_PROJECT_KEY }}"
155-
# sonar_token: "${{ secrets.SONAR_TOKEN }}"
146+
- name: "Download coverage report for SONAR"
147+
uses: actions/download-artifact@v4
148+
with:
149+
name: code-coverage-report
150+
- name: "Perform static analysis"
151+
uses: ./.github/actions/perform-static-analysis
152+
with:
153+
sonar_organisation_key: "${{ vars.SONAR_ORGANISATION_KEY }}"
154+
sonar_project_key: "${{ vars.SONAR_PROJECT_KEY }}"
155+
sonar_token: "${{ secrets.SONAR_TOKEN }}"

.github/workflows/stage-4-acceptance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
needs:
6363
- acceptance-tests
6464
- generate-sandbox-name
65-
# if: always()
65+
if: always()
6666

6767
uses: ./.github/workflows/dispatch_internal_repo_workflow.yaml
6868
secrets: inherit

0 commit comments

Comments
 (0)