Skip to content

Commit

Permalink
CI: better install command; fix imports of srwlpy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed May 25, 2023
1 parent 49e68ae commit 2e2cefb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
run: |
set -vxeuo pipefail
conda install -y -c conda-forge mpi4py openmpi
- name: Copy over README.md
run: |
set -vxeuo pipefail
Expand Down Expand Up @@ -132,8 +132,11 @@ jobs:
- name: Install test requirements with pip
run: |
set -vxeuo pipefail
pip install -v dist/*64.whl
python -c "import srwpy; import srwpy.srwlpy"
cd env/python
pip install -v dist/*.whl
python -m pip install -r requirements-dev.txt
python -m pip list
pytest -k fast
Expand All @@ -157,4 +160,4 @@ jobs:
- name: Publish wheels to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist/
packages-dir: ./dist/

0 comments on commit 2e2cefb

Please sign in to comment.