Skip to content

refactor: move pagination logic for historical market data to the bas… #1745

refactor: move pagination logic for historical market data to the bas…

refactor: move pagination logic for historical market data to the bas… #1745

Workflow file for this run

name: Run Tests and other CI Steps
on:
- push
- pull_request
jobs:
lints-ci:
#The lint jobs don't need to run on other OS's or python versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# install poetry first for cache
- name: setup poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: 3.11
cache: "poetry"
- name: Poetry install
run: poetry install
- name: run lint checks
run: poetry run black --check alpaca/ tests/
- name: build doc html to lint for errors
run: ./tools/scripts/generate-docs.sh
tests-ci:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ] #we'll want to add other versions down the road
os: [ ubuntu-latest ] #in the future we should add windows here
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
# install poetry first for cache
- name: setup poetry
run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Poetry install
run: poetry install
- name: run tests
run: poetry run pytest