Update the setup.py file to force lstchain==0.10.6 #4
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: Python package | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Prepare mamba installation | |
env: | |
PYTHON_VERSION: '3.10' | |
run: | | |
# setup correct python version | |
sed -i -e "s/- python=.*/- python=$PYTHON_VERSION/g" environment.yml | |
- name: Mamba setup | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
cache-downloads: true | |
- name: Install dependencies | |
run: | | |
python --version | |
echo "Installing additional pip packages" | |
echo "pip install ." | |
pip install . | |
pip install pytest | |
- name: Test with pytest | |
run: | | |
pytest |