Skip to content

Cap tempfile number up to 200 #182

Cap tempfile number up to 200

Cap tempfile number up to 200 #182

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 2
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
pandas-version: ["1.3.5", "1.4.4", "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
- 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/*