Skip to content

Commit

Permalink
chore(ci): switch to miniforge (#1304)
Browse files Browse the repository at this point in the history
* Switched to miniforge

* ci: restore activation

* ci: verify Python version

* Update build-test.yml

* ci: use mamba (15 seconds faster)

* Update build-test.yml

---------

Co-authored-by: Jim Pivarski <jpivarski@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henry.fredrick.schreiner@cern.ch>
  • Loading branch information
3 people committed Sep 26, 2024
1 parent 4f98075 commit 35cf7bd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ jobs:
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true

- name: Check active Python version
run: python -c "import sys; assert '.'.join(str(s) for s in sys.version_info[:2]) == '${{ matrix.python-version }}', f'{version} incorrect!'"

- name: Install ROOT
if: matrix.python-version == 3.8 && runner.os != 'macOS' && runner.os != 'Windows'
run: |
Expand Down

0 comments on commit 35cf7bd

Please sign in to comment.