Skip to content

Commit

Permalink
Use micromamba GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Feb 6, 2023
1 parent f859c88 commit b03ed1d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
shell: bash -l {0}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Python
uses: conda-incubator/setup-miniconda@v2
- name: Install micromamba
uses: mamba-org/provision-with-micromamba@main
with:
mamba-version: "*"
channels: conda-forge
python-version: ${{ matrix.python-version }}
environment-file: environment-dev.yml
environment-name: ypy
extra-specs: python=${{ matrix.python-version }}

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down
5 changes: 5 additions & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: ypy
channels:
- conda-forge
dependencies:
- pip

0 comments on commit b03ed1d

Please sign in to comment.