Skip to content

Commit

Permalink
py3.9; use mamba solver; enable manual build: CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yxqd committed Aug 21, 2023
1 parent 191d692 commit ab48132
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- master
schedule:
- cron: "25 19 * * *"
workflow_dispatch:

jobs:
build-and-test:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ab48132

Please sign in to comment.