-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0abff76
commit f38b681
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,9 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
- name: Install | ||
run: | | ||
sudo apt-get update && sudo apt-get install build-essential dbus libdbus-glib-1-dev libgirepository1.0-dev python3-pip python3-wheel | ||
python -m pip install --upgrade pip | ||
sudo apt-get update && sudo apt-get install build-essential dbus libdbus-glib-1-dev libgirepository1.0-dev | ||
python3 -m venv build/venv | ||
source ./build/venv/bin/activate | ||
# custom cose repo | ||
pip3 install git+https://github.com/TimothyClaeys/[email protected] | ||
pip3 install -e . | ||
|
@@ -33,9 +34,14 @@ jobs: | |
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Test with pytest | ||
run: | | ||
source ./build/venv/bin/activate | ||
pip3 install -e '.[test]' | ||
dbus-run-session -- python3 -m pytest -v --cov=scapy_cbor --cov=bp --cov=udpcl --cov=tcpcl src | ||
- name: Transfer udpcl | ||
run: dbus-run-session -- python3 -m udpcl.test.bundlegen --log=debug fullvalid | ||
run: | | ||
source ./build/venv/bin/activate | ||
dbus-run-session -- python3 -m udpcl.test.bundlegen --log=debug fullvalid | ||
- name: Transfer tcpcl | ||
run: dbus-run-session -- python3 -m tcpcl.test.bundlegen --log=debug fullvalid | ||
run: | | ||
source ./build/venv/bin/activate | ||
dbus-run-session -- python3 -m tcpcl.test.bundlegen --log=debug fullvalid |