Skip to content

cleanup

cleanup #1099

Workflow file for this run

name: Ubuntu, Conda Python 3.10 through 3.14
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb
- name: Set up Python from Miniconda/conda
uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniconda-version: latest
channels: conda-forge
channel-priority: strict
activate-environment: anaconda-client-env
python-version: ${{ matrix.python-version }}
- name: Install conda dependencies
run: |
printenv
conda activate anaconda-client-env
conda install -y -c conda-forge python=${{ matrix.python-version }} "numpy>=2.2" "scipy>=1.15" "matplotlib>=3.10" "h5py>=3.12" "wxpython>=4.2.4" pymatgen scikit-learn jupyter plotly
conda install -y -c conda-forge pytest pytest-cov coverage setuptools pip
conda list
conda info
- name: Install xraylarch and other dependencies with pip
run: |
conda activate anaconda-client-env
python -m pip install ".[all]"
- name: Run test suite
run: |
conda activate anaconda-client-env
cd tests
sh run_tests.sh