Skip to content

bump min py to 3.11 #871

bump min py to 3.11

bump min py to 3.11 #871

Workflow file for this run

name: Run tests
on: [push]
jobs:
test:
strategy:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.11","3.12","3.13"]
name: test robocrys (${{ matrix.os }}/py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
channels: anaconda, conda-forge
- name: Install dependencies
shell: bash -l {0}
run: |
conda install --quiet --yes -c conda-forge openbabel pip ruamel.yaml
python${{ matrix.python-version }} -m pip install -e .[strict,tests,cli]
- name: Test
shell: bash -l {0}
run: python${{ matrix.python-version }} -m pytest -n auto --cov=robocrys --cov-report=xml --cov-config=.coveragerc tests/
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[strict,docs,cli]
- name: Build
run: sphinx-build docs/src docs_build