Nightly Package Tests #396
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: Nightly Package Tests | |
on: | |
schedule: | |
- cron: '0 10 * * *' # run at 10 AM UTC | |
workflow_dispatch: # to trigger manually | |
jobs: | |
cyclic-imports: | |
uses: ./.github/workflows/cyclic-imports.yaml | |
stable-all: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-13, macos-12 ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install "coola[all]" | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
stable-min: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-13, macos-12 ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
latest-all: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-13, macos-12 ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install --pre "coola[all]" | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
latest-min: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, ubuntu-20.04, macos-latest, macos-13, macos-12 ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install --pre coola | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
jax: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
jax-version: [ 0.4.26 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola jax==${{ matrix.jax-version }} jaxlib==${{ matrix.jax-version }} | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
numpy: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
numpy-version: [ 1.26.4, 1.25.2, 1.24.3, 1.23.5, 1.22.4, 1.21.6 ] | |
exclude: | |
# python 3.11 | |
- numpy-version: 1.21.6 | |
python-version: '3.11' | |
# python 3.12 | |
- numpy-version: 1.21.6 | |
python-version: '3.12' | |
- numpy-version: 1.22.4 | |
python-version: '3.12' | |
- numpy-version: 1.23.5 | |
python-version: '3.12' | |
- numpy-version: 1.24.3 | |
python-version: '3.12' | |
- numpy-version: 1.25.2 | |
python-version: '3.12' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola numpy==${{ matrix.numpy-version }} | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
pandas: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
pandas-version: [ 2.2.2, 2.1.4, 2.0.3, 1.5.3, 1.4.4, 1.3.5 ] | |
exclude: | |
# python 3.12 | |
- pandas-version: 1.4.4 | |
python-version: '3.12' | |
- pandas-version: 1.3.5 | |
python-version: '3.12' | |
- pandas-version: 1.3.5 | |
python-version: '3.12' | |
- pandas-version: 1.4.4 | |
python-version: '3.12' | |
- pandas-version: 1.5.3 | |
python-version: '3.12' | |
- pandas-version: 2.0.3 | |
python-version: '3.12' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola pandas==${{ matrix.pandas-version }} | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
polars: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
polars-version: [ '0.20.23', '0.19.19', '0.18.15' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola polars==${{ matrix.polars-version }} | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
torch: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
torch-version: [ 2.3.0, 2.2.2, 2.1.2, 2.0.1, 1.13.1, 1.12.1, 1.11.0, 1.10.2 ] | |
exclude: | |
# python 3.10 | |
- torch-version: 1.10.2 | |
python-version: 3.10 | |
# python 3.11 | |
- torch-version: 1.10.2 | |
python-version: 3.11 | |
- torch-version: 1.11.0 | |
python-version: 3.11 | |
- torch-version: 1.12.1 | |
python-version: 3.11 | |
# python 3.12 | |
- torch-version: 1.10.2 | |
python-version: 3.12 | |
- torch-version: 1.11.0 | |
python-version: 3.12 | |
- torch-version: 1.12.1 | |
python-version: 3.12 | |
- torch-version: 1.13.1 | |
python-version: 3.12 | |
- torch-version: 2.0.1 | |
python-version: 3.12 | |
- torch-version: 2.1.2 | |
python-version: 3.12 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola torch==${{ matrix.torch-version }} | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py | |
xarray: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 20 | |
strategy: | |
max-parallel: 8 | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
python-version: [ '3.12', '3.11', '3.10', '3.9' ] | |
xarray-version: [ '2024.3', '2024.2', '2024.1', '2023.12', '2023.11', '2023.10', '2023.9', '2023.8', '2023.7', '2023.6', '2023.5', '2023.1' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install package | |
run: | | |
pip install coola xarray==${{ matrix.xarray-version }} | |
- name: Run some checks | |
run: | | |
python tests/package_checks.py |