Skip to content

Commit

Permalink
Add pip installation test to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkollasch committed Aug 20, 2022
1 parent 2681d54 commit bfbb09b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,25 @@ jobs:
run: "ls -l dist"
- name: "Check long_description"
run: "python -m twine check dist/*"

install:
strategy:
matrix:
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]

name: "Verify installation"
runs-on: "${{ matrix.os }}"

steps:
- uses: "actions/checkout@v2"
with:
submodules: 'true'
- uses: "actions/setup-python@v2"
with:
python-version: "3.8"
- name: "install package"
run: "python -m pip install -e ."
- name: "import package"
run: "python -c 'import photomanager; print(photomanager.__version__)'"
- name: "run photomanager"
run: "photomanager -h"

0 comments on commit bfbb09b

Please sign in to comment.