tests: guard pyarrow
use in tests with pytest.importorskip
(allows testing on 3.12)
#224
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: uproot-main | |
on: | |
push: | |
branches: ['main'] | |
paths-ignore: ['**.md', 'docs/**'] | |
pull_request: | |
paths-ignore: ['**.md', 'docs/**'] | |
workflow_dispatch: | |
concurrency: | |
group: 'uproot-main-${{ github.head_ref || github.run_id }}' | |
cancel-in-progress: true | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: "3.10" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install and test | |
run: | | |
python3 -m pip install pip wheel -U | |
python3 -m pip install -q --no-cache-dir -e .[complete,test] | |
cd .. | |
git clone https://github.com/scikit-hep/uproot5 | |
cd uproot5 | |
python3 -m pip install .[test,dev] | |
python3 -m pytest -k dask |