Skip to content

Commit 8bbb945

Browse files
committed
Add CI job to test user installation steps
1 parent bda09b3 commit 8bbb945

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/main-workflow.yml

+19-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
python -m pip install --upgrade pip
1818
python -m pip install -r requirements.txt
1919
- name: Lint
20-
run: |
21-
./ci/lint.sh
20+
run: ./ci/lint.sh
2221

2322
Testing:
2423
runs-on: ubuntu-latest
@@ -36,3 +35,21 @@ jobs:
3635
run: |
3736
python -m pip install .
3837
python -m pytest --verbose .
38+
39+
Installation:
40+
runs-on: ubuntu-latest
41+
steps:
42+
- uses: actions/checkout@v2
43+
- name: Set up Python 3.6
44+
uses: actions/setup-python@v2
45+
with:
46+
python-version: 3.6
47+
- name: Install library
48+
run: python -m pip install .
49+
- name: Basic test of CLI-tools
50+
run: |
51+
cd $(mktemp -d)
52+
python -m timelapse.launch -h
53+
python -m timelapse.process -h
54+
55+

0 commit comments

Comments
 (0)