Skip to content

Commit e7937ae

Browse files
committed
Test installing project on CI
This changes the CI workflow to install the project itself to get its dependency, rather than installing the dependency from requirements.txt. This is the more important thing to test, because it verifies that the project is installable and effectively declares the dependencies it needs.
1 parent 67ab5a7 commit e7937ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pythonpackage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
allow-prereleases: true
29-
- name: Install dependencies
29+
- name: Install project and dependencies
3030
run: |
3131
python -m pip install --upgrade pip
32-
pip install -r requirements.txt
32+
pip install .
3333
- name: Lint with flake8
3434
run: |
3535
pip install flake8

0 commit comments

Comments
 (0)