Skip to content

Commit

Permalink
CI: no srwpy install
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Apr 13, 2024
1 parent 3d21e0d commit 616a0bb
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Download wheels
uses: actions/download-artifact@v4
with:
name: srwpy-wheels-${{ matrix.host-os }}
path: wheelhouse
# - name: Download wheels
# uses: actions/download-artifact@v4
# with:
# name: srwpy-wheels-${{ matrix.host-os }}
# path: wheelhouse

- name: Display structure of downloaded files
run: ls -laR wheelhouse/
# - name: Display structure of downloaded files
# run: ls -laR wheelhouse/

- name: Install the package and test requirements
run: |
Expand All @@ -175,22 +175,22 @@ jobs:
ls -laR /Library/Frameworks/Python.framework/Versions/
python -m pip install -v wheelhouse/*-cp${PYTHONVER}-*.whl
# python -m pip install -v wheelhouse/*-cp${PYTHONVER}-*.whl
# Smoke import test:
python -c "import srwpy; import srwpy.srwlpy"
# # Smoke import test:
# python -c "import srwpy; import srwpy.srwlpy"
# Check CLI tools:
srw-viewer --help
# # Check CLI tools:
# srw-viewer --help
python -m pip install -r env/python/requirements-dev.txt
python -m pip list
# python -m pip install -r env/python/requirements-dev.txt
# python -m pip list
- name: Run fast tests
run: |
set -vxeuo pipefail
cd env/python
pytest -k fast
# - name: Run fast tests
# run: |
# set -vxeuo pipefail
# cd env/python
# pytest -k fast

publish-to-pypi:
# Hints from:
Expand Down

0 comments on commit 616a0bb

Please sign in to comment.