Cron tests on develop branch #188
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: 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 }} |