Skip to content

Commit 79cfcfc

Browse files
authored
Ensure Debian workflows do not download remote software (twmht#10)
Debian builds should use the packaged versions of the tools, only, which seems achievable with pip's --no-build-isolation. This commits also adds a verbose flag, to give the ability to easily verify this.
1 parent 8283284 commit 79cfcfc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/debian.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ jobs:
3030
python3-dev python3-pip python3-pytest \
3131
libsnappy-dev libbz2-dev liblz4-dev libz-dev
3232
33-
- name: Symlink pytest
34-
run: |
35-
ln -s /usr/bin/pytest-3 /usr/local/bin/pytest
36-
3733
- name: Build pyrocksdb
34+
# TODO(dato): consider using pypa/build --no-isolaiton, to
35+
# build the package using a tool specifically designed for
36+
# that, rather than trusting it to a tool that does a lot
37+
# more (pip).
3838
run: |
39-
python3 -m pip install '.[test]'
39+
python3 -m pip install --no-build-isolation -v '.[test]'
4040
4141
- name: Run tests
4242
run: |
43-
pytest --pyargs rocksdb
43+
pytest-3 --pyargs rocksdb

0 commit comments

Comments
 (0)