Skip to content

Try with numpy < 2.0.0 #160

Try with numpy < 2.0.0

Try with numpy < 2.0.0 #160

Workflow file for this run

name: Build
on:
push:
branches: [ master, support-3-11 ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 2
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.12"]
pandas-version: ["1.5.3"]
exclude:
- python-version: "3.10"
pandas-version: "1.3.5"
- python-version: "3.10"
pandas-version: "1.4.4"
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[spark]
pip check
pip install nox
pip install setuptools
- name: Run unit tests
run: |
nox --session "tests(python='${{ matrix.python-version }}', pandas='${{ matrix.pandas-version }}')"
env:
TD_API_KEY: 1/XXX
TD_API_SERVER: https://api.treasure-data.com/
dist-dry-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and check dist for PiPY (a.k.a dry run)
run: |
python setup.py sdist bdist_wheel
twine check dist/*