name: CI Pipeline on: push: branches: [ main ] pull_request: branches: [ main ] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python 3.9 uses: actions/setup-python@v4 with: python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip pip install .[dev] - name: Lint with Ruff run: | # stop the build if there are Python syntax errors or undefined names pip install ruff ruff check src tests - name: Run Unit Tests run: | pytest tests/