Bump pyarrow from 16.1.0 to 18.0.0 #504
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: run tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
# runs every Wednesday at 7 AM UTC | |
- cron: "0 7 * * 3" | |
jobs: | |
run_tests: | |
strategy: | |
matrix: | |
# matrixed execution for parallel gh-action performance increases | |
python_version: ["3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-22.04, macos-13] | |
runs-on: ${{ matrix.os }} | |
env: | |
OS: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Python setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
# remove poetry.lock file for scheduled tests | |
# to help simulate possible upstream issues | |
- name: Remove poetry.lock for scheduled tests | |
# runs every Wednesday at 7 AM UTC | |
if: github.event.schedule == '0 7 * * 3' | |
run: | | |
rm poetry.lock | |
- name: Setup for poetry | |
uses: ./.github/actions/setup-poetry | |
- name: Install environment | |
run: poetry install --no-interaction --no-ansi | |
- name: Run sphinx-docs build test | |
run: poetry run sphinx-build docs/source doctest -W | |
- name: Run pytest | |
run: poetry run pytest -m "not large_data_tests" | |
# run large data tests as a separate job to help | |
# conserve resources by detecting failure with | |
# smaller tests first. | |
run_large_data_tests: | |
runs-on: ubuntu-22.04 | |
needs: run_tests | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Python setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Setup for poetry | |
uses: ./.github/actions/setup-poetry | |
- name: Install environment | |
run: poetry install --no-interaction --no-ansi | |
- name: Run pytest for large data tests | |
run: poetry run pytest -m "large_data_tests" |