Skip to content

Commit

Permalink
ECC-1793: develop binary wheel - fix check-and-publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Apr 19, 2024
1 parent 08be602 commit bdf5325
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,19 @@ jobs:
- run: pip install -r tests/requirements.txt
- run: pip freeze
- run: env | sort
- run: python -m eccodes selfcheck
- run: ECCODES_PYTHON_USE_INSTALLED_BINARIES=1 python -m eccodes selfcheck

- run: pytest
if: matrix.method == 'conda' && matrix.platform == 'windows-latest'
env:
ECCODES_DEFINITION_PATH: 'C:/Miniconda/Library/share/eccodes/definitions'
ECCODES_SAMPLES_PATH: 'C:/Miniconda/Library/share/eccodes/samples'
ECCODES_PYTHON_USE_INSTALLED_BINARIES: '1'

- run: pytest
if: matrix.method != 'conda' || matrix.platform != 'windows-latest'

env:
ECCODES_PYTHON_USE_INSTALLED_BINARIES: '1'
# pytest -v --cov=. --cov-report=xml --cov-branch .

- name: Upload coverage to Codecov
Expand Down

0 comments on commit bdf5325

Please sign in to comment.