Skip to content

Commit

Permalink
more bash in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Apr 1, 2021
1 parent 23dfbf7 commit b4a992b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/example-10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ jobs:
if: contains(matrix.environment-file, '.yml') && matrix.python-version
run: |
set -eux
diff '${{ steps.setup-miniconda.outputs.environment-file }}' '${{ matrix.environment-file }}' | grep 'python=${{ matrix.python-version }}'
if [ "$(diff '${{ steps.setup-miniconda.outputs.environment-file }}' '${{ matrix.environment-file }}' | grep -c '- python=${{ matrix.python-version }}')" -eq 0 ]; then exit 1; fi
python --version | grep "Python ${{ matrix.python-version }}"
awk '/- conda-forge/,/- defaults/' '${{ steps.setup-miniconda.outputs.environment-file }}'

0 comments on commit b4a992b

Please sign in to comment.