Skip to content

Simplified to include all *.md files into source distro. #10

Simplified to include all *.md files into source distro.

Simplified to include all *.md files into source distro. #10

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch: # Enables manual triggering
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 1 # To avoid API Rate Limit issues
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Check code quality
run: |
black --check --verbose .
isort --check --diff .
pylint src/ tests/
- name: Run tests
env:
TDM_API_TOKEN: ${{ secrets.TDM_API_TOKEN }}
run: |
pytest --cov --cov-report=xml