Skip to content

feat: add support for current RNTuple files #2707

feat: add support for current RNTuple files

feat: add support for current RNTuple files #2707

Workflow file for this run

name: "Test build"
on:
workflow_dispatch:
pull_request:
push:
branches: ["main"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: ["windows-latest", "macos-latest", "ubuntu-latest"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
exclude:
- platform: "windows-latest"
python-version: "3.7"
runs-on: "${{ matrix.platform }}"
timeout-minutes: 30
# Required for miniconda to activate conda
defaults:
run:
shell: "bash -l {0}"
steps:
- uses: "actions/checkout@v4"
- name: "Get conda"
uses: "conda-incubator/setup-miniconda@v2"
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
use-mamba: true
- name: "Install ROOT"
if: "matrix.python-version == 3.8 && runner.os != 'macOS' && runner.os != 'Windows'"
run: |
conda env list
mamba install root
conda list
- name: "Install XRootD"
if: "runner.os != 'macOS' && runner.os != 'Windows'"
run: |
conda env list
mamba install xrootd
conda list
- name: "Pip install the package"
run: python -m pip install .[test,dev]
- name: "Run pytest"
run: |
python -m pytest -vv tests \
--reruns 3 --reruns-delay 30 \
--only-rerun requests.exceptions.HTTPError
vanilla-build:
strategy:
fail-fast: false
matrix:
platform: ["windows-latest", "ubuntu-latest", "macos-latest"]
python-version: ["3.11"]
runs-on: "${{ matrix.platform }}"
timeout-minutes: 30
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Pip install the package"
run: python -m pip install .[test,dev]
- name: "Run pytest"
run: |
python -m pytest -vv tests --reruns 3 --reruns-delay 30 --only-rerun requests.exceptions.HTTPError