Skip to content

Commit 8c98364

Browse files
committed
pm2 commented, wip
1 parent e63f423 commit 8c98364

1 file changed

Lines changed: 47 additions & 46 deletions

File tree

.github/workflows/tests.yml

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -126,49 +126,50 @@ jobs:
126126
env:
127127
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128128
if: always()
129-
- name: Install PM2 locally
130-
run: npm install pm2@6.0.13 -g
131-
- name: API Tests
132-
run: |
133-
npm run pm2:test
134-
pm2 status
135-
cd cables_api/
136-
npm run test:api
137-
pm2 logs --lines 100
138-
pm2 stop all
139-
pm2 flush
140-
- name: Publish API Tests Summary Results
141-
uses: ctrf-io/github-test-reporter@v1
142-
with:
143-
report-path: './cables_api/ctrf/*.json'
144-
github-report: true
145-
summary-delta-report: true
146-
insights-report: true
147-
flaky-rate-report: true
148-
fail-rate-report: true
149-
slowest-report: true
150-
upload-artifact: true
151-
suite-folded-report: true
152-
artifact-name: "api-report"
153-
- name: Views Tests
154-
run: |
155-
npm run pm2:test
156-
pm2 status
157-
cd cables_api/
158-
npm run test:views
159-
pm2 logs --lines 100
160-
pm2 stop all
161-
pm2 flush
162-
- name: Publish Views Tests Summary Results
163-
uses: ctrf-io/github-test-reporter@v1
164-
with:
165-
report-path: './cables_api/ctrf/*.json'
166-
github-report: true
167-
summary-delta-report: true
168-
insights-report: true
169-
flaky-rate-report: true
170-
fail-rate-report: true
171-
slowest-report: true
172-
upload-artifact: true
173-
suite-folded-report: true
174-
artifact-name: "views-report"
129+
# - name: Install PM2 locally
130+
# run: npm install pm2@6.0.13 -g
131+
# - name: API Tests
132+
# run: |
133+
# npm run pm2:test
134+
# pm2 status
135+
# cd cables_api/
136+
# npm run test:api
137+
# pm2 logs --lines 100
138+
# pm2 stop all
139+
# pm2 flush
140+
# - name: Publish API Tests Summary Results
141+
# uses: ctrf-io/github-test-reporter@v1
142+
# with:
143+
# report-path: './cables_api/ctrf/*.json'
144+
# github-report: true
145+
# summary-delta-report: true
146+
# insights-report: true
147+
# flaky-rate-report: true
148+
# fail-rate-report: true
149+
# slowest-report: true
150+
# upload-artifact: true
151+
# suite-folded-report: true
152+
# artifact-name: "api-report"
153+
# - name: Views Tests
154+
# run: |
155+
# npm run pm2:test
156+
# pm2 status
157+
# cd cables_api/
158+
# npm run test:views
159+
# pm2 logs --lines 100
160+
# pm2 stop all
161+
# pm2 flush
162+
# - name: Publish Views Tests Summary Results
163+
# uses: ctrf-io/github-test-reporter@v1
164+
# with:
165+
# report-path: './cables_api/ctrf/*.json'
166+
# github-report: true
167+
# summary-delta-report: true
168+
# insights-report: true
169+
# flaky-rate-report: true
170+
# fail-rate-report: true
171+
# slowest-report: true
172+
# upload-artifact: true
173+
# suite-folded-report: true
174+
# artifact-name: "views-report"
175+
#

0 commit comments

Comments
 (0)