deps(deps): bump pyspark from 3.5.6 to 4.1.0 #98
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: | |
| - master | |
| - 'release/*' | |
| pull_request: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| ci: | |
| name: ${{ matrix.plat.name }} Build + Test | |
| runs-on: ${{ matrix.plat.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| plat: | |
| - { os: ubuntu-latest, name: Ubuntu } | |
| - { os: macos-latest, name: macOS } | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Download submodules | |
| shell: bash | |
| run: git submodule update --init --recursive | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: pyproject.toml | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Build Drudge | |
| run: uv sync --locked --extra dev | |
| - name: Install coverage tools | |
| run: uv pip install coverage coveralls | |
| - name: Run tests with coverage | |
| env: | |
| DUMMY_SPARK: 1 | |
| run: uv run coverage run --source=drudge --omit="*/templates/*" -m pytest tests | |
| - name: Upload coverage to Coveralls (Ubuntu only) | |
| if: ${{ always() && matrix.plat.os == 'ubuntu-latest' }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: uv run coveralls --service=github | |