Skip to content

Nightly Package Tests #178

Nightly Package Tests

Nightly Package Tests #178

name: Nightly Package Tests
on:
schedule:
- cron: '10 10 * * *' # run at 10:10 AM UTC
workflow_dispatch: # to trigger manually
jobs:
package:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
max-parallel: 8
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ '3.12', '3.11', '3.10', '3.9' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install objectory
- name: Run short experiment
run: |
python -c "import objectory; print(objectory.factory(\"collections.Counter\", [1, 2, 1, 3]))"
package-tornado:
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' ]
tornado-version: [ '6.3', '6.2', '6.1', '6.0' ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install objectory
- name: Install tornado
run: |
pip install tornado==${{ matrix.tornado-version }}
- name: Run short experiment
run: |
python -c "import objectory; print(objectory.factory(\"collections.Counter\", [1, 2, 1, 3]))"