Skip to content

ci: deploy automated flake8/pytest CI workflow and Release Drafter bo… #1

ci: deploy automated flake8/pytest CI workflow and Release Drafter bo…

ci: deploy automated flake8/pytest CI workflow and Release Drafter bo… #1

Workflow file for this run

name: ⚙️ Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest flake8
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run Unit Tests
run: |
pytest