Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Feb 24, 2021
1 parent d245ed5 commit 3aa33d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/options.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,18 @@ jobs:
micromamba --help
if: runner.os != 'Windows'

- name: debug environment name in powershell
shell: powershell
run: |
python -c "import subprocess; ret = subprocess.check_output(['conda', 'info']).decode('utf-8'); print(ret.split('active environment : ')[1].split('\n')[0])"
if: runner.os == 'Windows'

- name: debug environment name in bash
shell: bash -l {0}
run: |
python -c "import subprocess; ret = subprocess.check_output(['conda', 'info']).decode('utf-8'); print(ret.split('active environment : ')[1].split('\n')[0])"
if: runner.os != 'Windows'

- name: test environment name in powershell
shell: powershell
run: |
Expand Down

0 comments on commit 3aa33d9

Please sign in to comment.