Skip to content

Commit afbb845

Browse files
committed
ci: fix test job python setuptools issue
1 parent 6589d26 commit afbb845

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,18 @@ jobs:
7373
run: cp Cargo.toml.MSRV Cargo.toml
7474
- name: Install PCSC development libraries
7575
run: |
76-
sudo apt-get update
77-
sudo apt-get install -y libpcsclite-dev swig
76+
sudo apt-get update -y
77+
sudo apt-get install -y swig libpcsclite-dev
78+
- name: Set up Python
79+
uses: actions/setup-python@v6
80+
with:
81+
python-version: '3.12'
7882
- name: Test
7983
run: |
84+
cd ${{ github.workspace }}
8085
python3 -m venv emulator_env
8186
source emulator_env/bin/activate
87+
pip install -U pip wheel
8288
pip install -r coinkite/coinkite-tap-proto/emulator/requirements.txt
8389
cargo test -p rust-cktap --features emulator
8490

0 commit comments

Comments
 (0)