Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Dec 24, 2022
1 parent 83fdc8f commit 1ab0237
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/actions/pkg-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
shell: bash

- name: Install package (wheel)
working-directory: pypi
working-directory: pypi/
run: |
# TODO: reset env / conside add as conda
pip install *.whl ${{ inputs.install-flags }}
Expand All @@ -42,18 +42,10 @@ runs:
shell: bash

- name: Install package (archive)
working-directory: pypi
working-directory: pypi/
run: |
# TODO: reset env / conside add as conda
pip install *.tar.gz ${{ inputs.install-flags }}
python -c "import ${{ inputs.import-name }} as pkg; print(f'version: {pkg.__version__}')"
pip list
shell: bash

- name: Install | Uninstall package - archive
working-directory: ./dist
run: |
pip install *.tar.gz ${{ inputs.pip-flags }}
pip list | grep lightning
python -c "import ${PKG_NAME} ; print(${PKG_NAME}.__version__)"
shell: bash

0 comments on commit 1ab0237

Please sign in to comment.