Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .github/workflows/install-conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,12 @@ jobs:
python=${{ matrix.python-version }}
-c conda-forge ${{ matrix.install-target }}
init-shell: bash
- name: Get version non-windows
- name: Get version
shell: bash -leo pipefail {0}
if: matrix.os != 'windows-latest'
run: |
INSTALLED_VERSION=`python -c 'import pandas_openscm; print(f"v{pandas_openscm.__version__}")'`
echo $INSTALLED_VERSION
echo "INSTALLED_VERSION=$INSTALLED_VERSION" >> $GITHUB_ENV
- name: Get version windows
shell: bash -leo pipefail {0}
if: matrix.os == 'windows-latest'
run: |
python -c 'import pandas_openscm; f = open("version.txt", "w"); f.write(f"INSTALLED_VERSION=v{pandas_openscm.__version__}"); f.close()'
echo "Showing version.txt"
cat version.txt
cat version.txt >> $env:GITHUB_ENV
- name: Check installed version environment variable
shell: bash -leo pipefail {0}
run: |
Expand Down
1 change: 1 addition & 0 deletions changelog/38.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed up the conda install test workflow
Loading