3636 type : string
3737
3838jobs :
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..."
0 commit comments