Skip to content

Commit 10e98db

Browse files
committed
Update CI
1 parent cdad492 commit 10e98db

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/run-tests.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,22 @@ jobs:
2626
python-version: '3.10'
2727
- name: Clone
2828
uses: actions/checkout@v4
29-
- name: Install pip and pytest
29+
- name: Install dependencies
3030
run: |
3131
apt-get update
32-
apt-get install -y python3-pip
32+
python -m venv venv
33+
source venv/bin/activate
34+
pip install --upgrade pip
3335
pip install -r requirements-dev.txt
34-
- name: Install pymatt
35-
run: |
3636
pip install .
37+
shell: bash
3738
- name: Create test wallet
3839
run: bash ./examples/init.sh
3940
- name: Run tests and capture output
40-
run: pytest -vv
41+
run: |
42+
source venv/bin/activate
43+
pytest -vv
44+
shell: bash
4145
- name: Upload test output as artifact
4246
uses: actions/upload-artifact@v4
4347
with:

0 commit comments

Comments
 (0)