From 35cf7bdd857acbc55161ace821f51d0323d16664 Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Thu, 26 Sep 2024 12:05:36 -0400 Subject: [PATCH] chore(ci): switch to miniforge (#1304) * 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 Co-authored-by: Henry Schreiner --- .github/workflows/build-test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 9ce7ca368..866e0e8dd 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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: |