Skip to content

Commit

Permalink
Pyindi - run actual tests (indilib#1602)
Browse files Browse the repository at this point in the history
Co-authored-by: Michal Jamry <michal.jamry>
  • Loading branch information
abecadel authored Jan 23, 2022
1 parent ecdfb6b commit de4f4b6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pyindi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Install Python3 Pre-requisites
run: |
$(command -v sudo) apt-get install -y python3 python3-dev python3-setuptools swig
$(command -v sudo) apt-get install -y python3 python3-dev python3-setuptools swig python3-pip
- name: Get PyIndi Sources
uses: actions/checkout@v2
Expand All @@ -43,7 +43,11 @@ jobs:
- name: Build PyIndi
run: |
cd pyindi-client && python3 ./setup.py install
- name: Install test deps
run: |
cd pyindi-client && pip3 install -r requirements-test.txt
- name: Test PyIndi
run: |
python3 -c "import PyIndi"
cd pyindi-client && /bin/bash -c "indiserver indi_simulator_ccd indi_simulator_focus indi_simulator_gps indi_simulator_guide indi_simulator_wheel indi_simulator_telescope & tox ."

0 comments on commit de4f4b6

Please sign in to comment.