Skip to content

feat: setup CI/CD pipeline and overhaul security scanner to use AST a… #1

feat: setup CI/CD pipeline and overhaul security scanner to use AST a…

feat: setup CI/CD pipeline and overhaul security scanner to use AST a… #1

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Test and Lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Run Ruff Linter
run: ruff check .
- name: Run Mypy Type Checker
run: mypy src
- name: Run Tests
run: pytest