Skip to content

uncomment scheduled run #209

uncomment scheduled run

uncomment scheduled run #209

Workflow file for this run

name: trading-ig unit tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v6
- name: Install uv and setup Python
uses: astral-sh/setup-uv@v7
with:
version: "0.11.6"
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --all-extras --dev
- name: Check code prettiness with ruff
run: |
uv run ruff format --check
- name: Lint with ruff
run: |
uv run ruff check trading_ig docs sample tests
- name: Unit tests with pytest
run: |
uv run pytest --ignore=tests/test_integration.py