Skip to content

Nightly Package Tests #406

Nightly Package Tests

Nightly Package Tests #406

name: Nightly Package Tests
on:
schedule:
- cron: '30 11 * * *' # run at 11:30 AM UTC
workflow_dispatch: # to trigger manually
jobs:
stable-all:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
max-parallel: 8
fail-fast: false
matrix:
os: [ ubuntu-latest, ubuntu-24.04, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-15, macos-14, macos-13 ]
python-version: [ '3.13', '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 "feu[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-24.04, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-15, macos-14, macos-13 ]
python-version: [ '3.13', '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 feu
- 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-24.04, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-15, macos-14, macos-13 ]
python-version: [ '3.13', '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 "feu[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-24.04, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-15, macos-14, macos-13 ]
python-version: [ '3.13', '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 feu
- name: Run some checks
run: |
python tests/package_checks.py
########################
# Dependencies #
########################
packaging:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
max-parallel: 8
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.13', '3.12', '3.11', '3.10', '3.9' ]
packaging-version: [ '24.1', '23.2', '22.0', '21.3' ]
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 feu packaging==${{ matrix.packaging-version }}
- name: Run some checks
run: |
python tests/package_checks.py
#################################
# Optional dependencies #
#################################
click:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
max-parallel: 8
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ '3.13', '3.12', '3.11', '3.10', '3.9' ]
click-version: [ '8.1.7', '8.1.0' ]
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 feu click==${{ matrix.click-version }}
- name: Run some checks
run: |
python tests/package_checks.py