Skip to content

Commit

Permalink
Add Mamba run
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahlanzrath committed Dec 9, 2024
1 parent d97cf31 commit aa93ffc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
miniforge-version: latest
use-mamba: true
activate-environment: cadet-process
channels: conda-forge,
channels: conda-forge

- name: Cache conda
uses: actions/cache@v4
Expand All @@ -53,6 +53,7 @@ jobs:
with:
path: ${{ env.CONDA }}/envs
key: ${{ matrix.os }}-python_${{ matrix.python-version }}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }}
id: cache

- name: Update environment
run: |
Expand All @@ -64,20 +65,20 @@ jobs:

- name: Install
run: |
pip install -e ./[testing]
mamba run pip install -e ./[testing]
- name: Test
run: |
python -m unittest discover -s tests
mamba run python -m unittest discover -s tests
- name: Install pypa/build
run: |
python -m pip install build --user
mamba run python -m pip install build --user
- name: Build binary wheel and source tarball
run: |
python -m build --sdist --wheel --outdir dist/ .
mamba run python -m build --sdist --wheel --outdir dist/ .
- name: Test Wheel install and import
run: |
python -c "import CADETProcess; print(CADETProcess.__version__)"
mamba run python -c "import CADETProcess; print(CADETProcess.__version__)"

0 comments on commit aa93ffc

Please sign in to comment.