engineportf's picture
Add Quant Terminal Easter Egg
aceffd1
Raw
History Blame Contribute Delete
600 Bytes
name: Python CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with black
run: |
black --check .
- name: Type check with mypy
run: |
mypy .
- name: Test with pytest
run: |
pytest tests/