Use userpath #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test on Windows | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Test on Windows | |
runs-on: windows-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: create environment with mamba | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
channels: conda-forge | |
# auto-update-conda: true | |
auto-activate-base: true | |
activate-environment: "" | |
- name: check conda | |
run: conda env list | |
- name: install conda-app | |
run: python -m pip install -e . | |
- name: test install mercurial | |
run: | | |
conda-app install mercurial | |
conda-app list | |
- name: test ensurepath | |
run: | | |
conda-app ensurepath | |
- name: test install pipx | |
run: | | |
conda-app install pipx python=3.12 | |
conda-app list | |
- name: set PATH | |
run: | | |
Add-Content $env:GITHUB_PATH "C:\Miniconda\condabin\app" | |
- name: test installed pipx | |
run: | | |
which pipx | |
pipx --version | |
conda-app uninstall pipx -y | |
- name: test installed mercurial | |
run: | | |
hg version -v | |
hg debuginstall | |
hg-setup -h | |
hg-setup init --auto | |
cd $HOME | |
hg clone https://github.com/fluiddyn/conda-app.git | |
cd conda-app |