Skip to content

Unit Build

Unit Build #221

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unit Build
on:
push:
branches: [ main, release ]
pull_request:
branches: [ main, release ]
workflow_dispatch: # manually launch from GitHub actions
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Installing Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Installing dependencies
run: |
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: PYTHONPATH=$PWD pytest tests/