From ab48132264f2aa55abb1704812d23c44bd35aef3 Mon Sep 17 00:00:00 2001 From: Jiao Date: Mon, 21 Aug 2023 07:38:45 -0700 Subject: [PATCH] py3.9; use mamba solver; enable manual build: CI.yml --- .github/workflows/CI.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a8fe8b3..3635c89 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,6 +11,7 @@ on: - master schedule: - cron: "25 19 * * *" + workflow_dispatch: jobs: build-and-test: @@ -19,7 +20,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.7"] + python-version: ["3.9"] steps: - name: Check out source code uses: actions/checkout@v2 @@ -35,8 +36,16 @@ jobs: auto-update-conda: true activate-environment: test python-version: ${{ matrix.python-version }} - channels: mcvine,mantid,diffpy,conda-forge + channels: mcvine,conda-forge + # use mamba solver + - name: use mamba solver in conda + shell: pwsh + run: | + # conda update -n base conda + conda install -n base conda-libmamba-solver + conda config --set solver libmamba + # install deps and build - name: install / build / test shell: pwsh