Skip to content

Commit c74b31f

Browse files
committed
Remove unused workflow actions for tests
1 parent ec158b2 commit c74b31f

File tree

3 files changed

+85
-99
lines changed

3 files changed

+85
-99
lines changed

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

Lines changed: 79 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -36,46 +36,31 @@ on:
3636
type: string
3737

3838
jobs:
39-
environment-set-up:
40-
name: "Environment set up"
41-
runs-on: ubuntu-latest
42-
timeout-minutes: 5
43-
steps:
44-
- name: "Checkout code"
45-
uses: actions/checkout@v5
46-
- name: "Create infractructure"
47-
run: |
48-
echo "Creating infractructure..."
49-
- name: "Update database"
50-
run: |
51-
echo "Updating database..."
52-
- name: "Deploy application"
53-
run: |
54-
echo "Deploying application..."
55-
# test-contract:
56-
# name: "Contract test"
39+
# environment-set-up:
40+
# name: "Environment set up"
5741
# runs-on: ubuntu-latest
58-
# needs: environment-set-up
59-
# timeout-minutes: 10
42+
# timeout-minutes: 5
6043
# steps:
6144
# - name: "Checkout code"
6245
# uses: actions/checkout@v5
63-
# - name: "Run contract test"
46+
# - name: "Create infractructure"
6447
# run: |
65-
# make test-contract
66-
# - name: "Save result"
48+
# echo "Creating infractructure..."
49+
# - name: "Update database"
6750
# run: |
68-
# echo "Nothing to save"
51+
# echo "Updating database..."
52+
# - name: "Deploy application"
53+
# run: |
54+
# echo "Deploying application..."
6955

70-
test-contract-provider:
71-
name: "Test contracts (provider)"
56+
test-contract:
57+
name: "Contract test"
7258
runs-on: ubuntu-latest
73-
permissions:
74-
contents: read
75-
packages: read
59+
# needs: environment-set-up
60+
timeout-minutes: 10
7661
steps:
7762
- name: "Checkout code"
78-
uses: actions/checkout@v5.0.0
63+
uses: actions/checkout@v5
7964
- name: "Cache node_modules"
8065
uses: actions/cache@v4
8166
with:
@@ -84,25 +69,30 @@ jobs:
8469
key: ${{ runner.os }}-node-${{ inputs.nodejs_version }}-${{ hashFiles('**/package-lock.json') }}
8570
restore-keys: |
8671
${{ runner.os }}-node-${{ inputs.nodejs_version }}-
87-
- name: "Run provider contract tests"
88-
run: make test-contract-provider
72+
- name: "Run contract test"
73+
run: |
74+
make test-contract
8975
env:
9076
GITHUB_PACKAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91-
92-
test-security:
93-
name: "Security test"
94-
runs-on: ubuntu-latest
95-
needs: environment-set-up
96-
timeout-minutes: 10
97-
steps:
98-
- name: "Checkout code"
99-
uses: actions/checkout@v5
100-
- name: "Run security test"
101-
run: |
102-
make test-security
10377
- name: "Save result"
10478
run: |
10579
echo "Nothing to save"
80+
81+
# Environment-based tests should run from notify-internal repo, not in public repo
82+
# test-security:
83+
# name: "Security test"
84+
# runs-on: ubuntu-latest
85+
# needs: environment-set-up
86+
# timeout-minutes: 10
87+
# steps:
88+
# - name: "Checkout code"
89+
# uses: actions/checkout@v5
90+
# - name: "Run security test"
91+
# run: |
92+
# make test-security
93+
# - name: "Save result"
94+
# run: |
95+
# echo "Nothing to save"
10696
# test-ui:
10797
# name: "UI test"
10898
# runs-on: ubuntu-latest
@@ -131,20 +121,20 @@ jobs:
131121
# - name: "Save result"
132122
# run: |
133123
# echo "Nothing to save"
134-
test-integration:
135-
name: "Integration test"
136-
runs-on: ubuntu-latest
137-
needs: environment-set-up
138-
timeout-minutes: 10
139-
steps:
140-
- name: "Checkout code"
141-
uses: actions/checkout@v5
142-
- name: "Run integration test"
143-
run: |
144-
make test-integration
145-
- name: "Save result"
146-
run: |
147-
echo "Nothing to save"
124+
# test-integration:
125+
# name: "Integration test"
126+
# runs-on: ubuntu-latest
127+
# needs: environment-set-up
128+
# timeout-minutes: 10
129+
# steps:
130+
# - name: "Checkout code"
131+
# uses: actions/checkout@v5
132+
# - name: "Run integration test"
133+
# run: |
134+
# make test-integration
135+
# - name: "Save result"
136+
# run: |
137+
# echo "Nothing to save"
148138
# test-accessibility:
149139
# name: "Accessibility test"
150140
# runs-on: ubuntu-latest
@@ -159,39 +149,38 @@ jobs:
159149
# - name: "Save result"
160150
# run: |
161151
# echo "Nothing to save"
162-
test-load:
163-
name: "Load test"
164-
runs-on: ubuntu-latest
165-
needs: environment-set-up
166-
timeout-minutes: 10
167-
steps:
168-
- name: "Checkout code"
169-
uses: actions/checkout@v5
170-
- name: "Run load tests"
171-
run: |
172-
make test-load
173-
- name: "Save result"
174-
run: |
175-
echo "Nothing to save"
176-
environment-tear-down:
177-
name: "Environment tear down"
178-
runs-on: ubuntu-latest
179-
needs:
180-
[
152+
# test-load:
153+
# name: "Load test"
154+
# runs-on: ubuntu-latest
155+
# needs: environment-set-up
156+
# timeout-minutes: 10
157+
# steps:
158+
# - name: "Checkout code"
159+
# uses: actions/checkout@v5
160+
# - name: "Run load tests"
161+
# run: |
162+
# make test-load
163+
# - name: "Save result"
164+
# run: |
165+
# echo "Nothing to save"
166+
# environment-tear-down:
167+
# name: "Environment tear down"
168+
# runs-on: ubuntu-latest
169+
# needs:
170+
# [
181171
# test-accessibility,
182172
# test-contract,
183-
test-contract-provider,
184-
test-integration,
185-
test-load,
186-
test-security,
173+
# test-integration,
174+
# test-load,
175+
# test-security,
187176
# test-ui-performance,
188177
# test-ui,
189-
]
190-
if: always()
191-
timeout-minutes: 5
192-
steps:
193-
- name: "Checkout code"
194-
uses: actions/checkout@v5
195-
- name: "Tear down environment"
196-
run: |
197-
echo "Tearing down environment..."
178+
# ]
179+
# if: always()
180+
# timeout-minutes: 5
181+
# steps:
182+
# - name: "Checkout code"
183+
# uses: actions/checkout@v5
184+
# - name: "Tear down environment"
185+
# run: |
186+
# echo "Tearing down environment..."

.github/workflows/stage-5-publish.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
asset_content_type: "application/gzip"
145145

146146
- name: "zip html release asset"
147-
# Git hub pages needs a single tar called artifact inside the zip.
147+
# GitHub pages needs a single tar called artifact inside the zip.
148148
working-directory: ./artifacts/sdk-html-${{ inputs.version }}
149149
run: zip -r ../sdk-html-${{ inputs.version }}.zip .
150150
shell: bash
@@ -160,7 +160,7 @@ jobs:
160160
asset_content_type: "application/gzip"
161161

162162
- name: "zip sdk ts release asset"
163-
# Git hub pages needs a single tar called artifact inside the zip.
163+
# GitHub pages needs a single tar called artifact inside the zip.
164164
working-directory: ./artifacts/sdk-ts-${{ inputs.version }}
165165
run: zip -r ../sdk-ts-${{ inputs.version }}.zip .
166166
shell: bash
@@ -176,7 +176,7 @@ jobs:
176176
asset_content_type: "application/gzip"
177177

178178
- name: "zip sdk python release asset"
179-
# Git hub pages needs a single tar called artifact inside the zip.
179+
# GitHub pages needs a single tar called artifact inside the zip.
180180
working-directory: ./artifacts/sdk-python-${{ inputs.version }}
181181
run: zip -r ../sdk-python-${{ inputs.version }}.zip .
182182
shell: bash
@@ -192,7 +192,7 @@ jobs:
192192
asset_content_type: "application/gzip"
193193

194194
- name: "zip sdk csharp release asset"
195-
# Git hub pages needs a single tar called artifact inside the zip.
195+
# GitHub pages needs a single tar called artifact inside the zip.
196196
working-directory: ./artifacts/sdk-csharp-${{ inputs.version }}
197197
run: zip -r ../sdk-csharp-${{ inputs.version }}.zip .
198198
shell: bash
@@ -208,7 +208,7 @@ jobs:
208208
asset_content_type: "application/gzip"
209209

210210
- name: "zip api OAS specification release asset"
211-
# Git hub pages needs a single tar called artifact inside the zip.
211+
# GitHub pages needs a single tar called artifact inside the zip.
212212
working-directory: ./artifacts/api-oas-specification-${{ inputs.version }}
213213
run: zip -r ../api-oas-specification-${{ inputs.version }}.zip .
214214
shell: bash
@@ -225,7 +225,7 @@ jobs:
225225

226226
# Take out for now - might add again in the future
227227
# - name: "zip csharp server release asset"
228-
# # Git hub pages needs a single tar called artifact inside the zip.
228+
# # GitHub pages needs a single tar called artifact inside the zip.
229229
# working-directory: ./artifacts/server-csharp-${{ inputs.version }}
230230
# run: zip -r ../server-csharp-${{ inputs.version }}.zip .
231231
# shell: bash

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ config:: _install-dependencies version # Configure development environment (main
103103
test-component:
104104
(cd tests && npm install && npm run test:component)
105105

106-
test-contract-provider:
107-
echo "Contract tests should run here"
108-
109106
version:
110107
rm -f .version
111108
make version-create-effective-file dir=.

0 commit comments

Comments
 (0)