Skip to content

Nightly Package Tests #593

Nightly Package Tests

Nightly Package Tests #593

name: Nightly Package Tests
on:
schedule:
- cron: '10 10 * * *' # run at 10:10 AM UTC
workflow_dispatch: # to trigger manually
jobs:
stable:
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 objectory
- name: Run short experiment
run: |
python tests/package_checks.py
latest:
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 objectory
- name: Run short experiment
run: |
python tests/package_checks.py
tornado:
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' ]
tornado-version: [ '6.4.2', '6.3.3', '6.2', '6.1', '6.0.4' ]
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 objectory
- name: Install valid package version
uses: durandtibo/[email protected]
with:
package-name: 'tornado'
package-version: ${{ matrix.tornado-version }}
python-version: ${{ matrix.python-version }}
- name: Run short experiment
run: |
python tests/package_checks.py