Skip to content

ci-testing

ci-testing #377

Workflow file for this run

name: ci-testing
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
schedule:
- cron: '0 0 * * *' # Runs at 00:00 UTC every day
jobs:
pytest:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout to branch
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: python -m pip install --upgrade pip
- name: Install package
run: |
IRIS_ENV=SERVER python -m pip install -e .
python -m pip install pytest
- name: Run tests
run: pytest