Jorwoods/cibuildwheel #426
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: pantab tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
code-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pre-commit/[email protected] | |
build-linux: | |
needs: code-checks | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pandas tableauhyperapi pyarrow | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Test with pytest | |
run: | | |
python -m pip install pytest | |
python -m pytest | |
build-macos: | |
needs: code-checks | |
runs-on: macos-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pandas tableauhyperapi pyarrow | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Test with pytest | |
run: | | |
python -m pip install pytest | |
python -m pytest | |
build-windows: | |
needs: code-checks | |
runs-on: windows-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pandas tableauhyperapi pyarrow | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Test with pytest | |
run: | | |
python -m pip install pytest | |
python -m pytest | |
build-linux-hyper-0_0_14567-compat: | |
needs: code-checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pandas tableauhyperapi pyarrow | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Test with pytest | |
run: | | |
python -m pip install pytest | |
python -m pytest | |
build-macos-hyper-0_0_14567-compat: | |
needs: code-checks | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pandas tableauhyperapi pyarrow | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Test with pytest | |
run: | | |
python -m pip install pytest | |
python -m pytest | |
build-windows-hyper-0_0_14567-compat: | |
needs: code-checks | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pandas tableauhyperapi pyarrow | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Test with pytest | |
run: | | |
python -m pip install pytest | |
python -m pytest |