Skip to content

Commit

Permalink
Use miniforge in github action tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atztogo committed May 29, 2023
1 parent bb693cd commit 9d3e0e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/phono3py-pytest-conda-mkl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ jobs:
# Use conda-incubator/setup-miniconda for precise control of conda infrastructure
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict
python-version: ${{ matrix.python-version }}
environment-file: etc/example-environment.yml
miniforge-version: latest
# auto-update-conda: true
# installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
# channels: conda-forge
# channel-priority: strict
# python-version: ${{ matrix.python-version }}
- name: Install dependent packages
run: |
conda activate test
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/phono3py-pytest-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
# Use conda-incubator/setup-miniconda for precise control of conda infrastructure
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
channels: conda-forge
channel-priority: strict
python-version: ${{ matrix.python-version }}
environment-file: etc/example-environment.yml
miniforge-version: latest
# auto-update-conda: true
# installer-url: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
# channels: conda-forge
# channel-priority: strict
# python-version: ${{ matrix.python-version }}
- name: Install dependent packages
run: |
conda activate test
Expand Down

0 comments on commit 9d3e0e3

Please sign in to comment.