Skip to content

Merge pull request #1 from parle-ai/feature/copytrack #18

Merge pull request #1 from parle-ai/feature/copytrack

Merge pull request #1 from parle-ai/feature/copytrack #18

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install -e ".[dev]"
- name: Run tests
if: matrix.python-version != '3.13'
run: python -m pytest tests/ -x -q -m "not live"
- name: Run tests with coverage
if: matrix.python-version == '3.13'
run: python -m pytest tests/ -x -q -m "not live" --cov=pm_trader --cov-report=term-missing --cov-fail-under=100