Skip to content

Update the getting started scripts (#43) #28

Update the getting started scripts (#43)

Update the getting started scripts (#43) #28

name: Publish Test Report
on:
push:
branches:
- main
pull_request:
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 🚀
if: github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs