Skip to content

Commit 9908219

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

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,16 @@ 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: |
80-
python3 -m venv emulator_env
81-
source emulator_env/bin/activate
84+
cd ${{ github.workspace }}
85+
pip install -U pip wheel
8286
pip install -r coinkite/coinkite-tap-proto/emulator/requirements.txt
8387
cargo test -p rust-cktap --features emulator
8488

0 commit comments

Comments
 (0)