[pre-commit.ci] pre-commit autoupdate #2282
Workflow file for this run
This file contains 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: Coverage | |
on: | |
push: | |
branches: ['main'] | |
paths-ignore: ['**.md', 'docs/**'] | |
pull_request: | |
paths-ignore: ['**.md', 'docs/**'] | |
workflow_dispatch: | |
concurrency: | |
group: 'coverage-${{ github.head_ref || github.run_id }}' | |
cancel-in-progress: true | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Generate Report | |
run: | | |
pip install wheel | |
pip install pytest-cov | |
pip install dask[array,dataframe,distributed,diagnostics] | |
pip install -q --no-cache-dir -e .[complete,test] | |
pytest --cov=dask_awkward --cov-report=xml | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v4 |