Skip to content

Cron tests on develop branch #188

Cron tests on develop branch

Cron tests on develop branch #188

Workflow file for this run

name: Cron tests on develop branch
on:
schedule:
# run every Monday at 8am UTC
- cron: '0 8 * * 1'
env:
SETUP_XVFB: True # avoid issues if something tries to open a GUI window
jobs:
cron-tests:
name: Tox env ${{ matrix.python }}-${{ matrix.toxenv }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ['3.10', '3.11', '3.12']
toxenv: [test-alldeps, test-numpydev, test-linetoolsdev, test-gingadev, test-astropydev]
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
ref: develop
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install base dependencies
run: |
python -m pip install --upgrade pip tox
- name: Test with tox
run: |
tox -e ${{ matrix.python }}-${{ matrix.toxenv }}