Skip to content

Added predictors and their serializers #7

Added predictors and their serializers

Added predictors and their serializers #7

Workflow file for this run

# This runs the unit tests for the ELUC use case
name: SDK Workflow
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PWD/src/prsdk" >> $GITHUB_ENV
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with PyLint
run: pylint ./src/prsdk
- name: Lint with Flake8
run: flake8 ./src/prsdk
- name: Run unit tests
run: python -m unittest