Skip to content

App SDK Migration (to depend on Holoscan SDK) #559

App SDK Migration (to depend on Holoscan SDK)

App SDK Migration (to depend on Holoscan SDK) #559

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Setup Dev Environment
run: |
pip install virtualenv
virtualenv .venv
source .venv/bin/activate
./run setup
- name: Check formatting
run: |
source .venv/bin/activate
./run check -f
- name: Run Unit tests
run: |
source .venv/bin/activate
./run test all unit
- name: Coverage
run: |
source .venv/bin/activate
coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false
files: ./coverage.xml