feat: official B3 listed-funds catalog #164
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Force the newest Node runtime so we don't get Node-20 deprecation warnings. | |
| # See https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e '.[dev]' | |
| - name: Ruff format | |
| run: ruff format --check src tests scripts | |
| - name: Ruff lint | |
| run: ruff check src tests scripts | |
| - name: Mypy | |
| run: mypy src/findata | |
| - name: Pytest | |
| if: matrix.python-version != '3.12' | |
| run: pytest -v | |
| - name: Pytest + coverage | |
| if: matrix.python-version == '3.12' | |
| run: pytest -v --cov=findata --cov-report=term-missing --cov-fail-under=60 | |
| workers-mcp: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| cache-dependency-path: workers/mcp/package-lock.json | |
| - run: npm ci | |
| working-directory: workers/mcp | |
| - run: npm test | |
| working-directory: workers/mcp | |
| build: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: | | |
| python -m pip install --upgrade pip build | |
| python -m build | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: dist | |
| path: dist/ |