forked from scitt-community/scitt-api-emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (32 loc) · 954 Bytes
/
publish-test-report.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Publish Test Report
on:
push:
branches:
- main
jobs:
publish-test-report:
name: Publish Test Report
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run API Emulator
run: ./scitt-emulator.sh server --workspace workspace/ --tree-alg CCF &
- name: Sleep until server is ready
run: sleep 10
- name: Install Postman
run: npm install -g newman newman-reporter-htmlextra
- name: Run Postman Test Report
run: ./run-sanity.sh
working-directory: ./postman
- name: Publish to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs