Skip to content

ci: ⬆️ Update Python version to 3.13 in conda check workflow #599

ci: ⬆️ Update Python version to 3.13 in conda check workflow

ci: ⬆️ Update Python version to 3.13 in conda check workflow #599

Workflow file for this run

name: Python Package using Conda
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- spectrafit
- spectrafit-jupyter
- spectrafit-all
- spectrafit-rixs
max-parallel: 5
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Create conda environment with conda python 3.13
run: |
conda create -n base python=3.13 --yes
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install spectrafit package
run: |
conda install -c conda-forge ${{ matrix.package }}