[V5] remove wsj provider and related code #49
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: 🧱 openbb-core | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - v5 | |
| paths: | |
| - 'openbb_platform/core/**' | |
| - 'openbb_platform/extensions/devtools/**' | |
| - '.github/workflows/test-openbb-core.yml' | |
| push: | |
| branches: | |
| - develop | |
| - v5 | |
| - 'feature/**' | |
| - 'hotfix/**' | |
| - 'release/**' | |
| paths: | |
| - 'openbb_platform/core/**' | |
| - 'openbb_platform/extensions/devtools/**' | |
| - '.github/workflows/test-openbb-core.yml' | |
| merge_group: | |
| types: [checks_requested] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: openbb_platform/core | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.os }} / Python ${{ matrix.python_version }}) | |
| runs-on: ${{ matrix.os }} | |
| permissions: | |
| contents: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # Linux: full sweep across every supported Python. | |
| - { os: ubuntu-latest, python_version: "3.10" } | |
| - { os: ubuntu-latest, python_version: "3.11" } | |
| - { os: ubuntu-latest, python_version: "3.12" } | |
| - { os: ubuntu-latest, python_version: "3.13" } | |
| - { os: ubuntu-latest, python_version: "3.14" } | |
| - { os: ubuntu-latest, python_version: "3.15" } | |
| # macOS and Windows: min and max supported. | |
| - { os: macos-latest, python_version: "3.10" } | |
| - { os: macos-latest, python_version: "3.15" } | |
| - { os: windows-latest, python_version: "3.10" } | |
| - { os: windows-latest, python_version: "3.14" } | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| - name: Install Python ${{ matrix.python_version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python_version }} | |
| allow-prereleases: true | |
| cache: "pip" | |
| - name: Install openbb-core (with pandas extra) and test deps | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[pandas]" | |
| pip install pytest pytest-cov pytest-asyncio httpx | |
| - name: Run unit tests | |
| run: | | |
| pytest tests --cov=openbb_core --cov-report=term-missing --cov-report=xml | |
| - name: Upload coverage artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: openbb-core-coverage-${{ matrix.os }}-py${{ matrix.python_version }} | |
| path: openbb_platform/core/coverage.xml | |
| if-no-files-found: ignore |