Skip to content

Commit fc77e27

Browse files
committed
Fix missing test dependencies for Python 3.12 and further improve workflow
1 parent e18c6b7 commit fc77e27

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/code-quality.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818

1919
- name: Install pip and hatch
2020
run: |
21-
sudo apt-get update
2221
sudo apt-get install -y python3-pip
2322
pip3 install hatch
2423
@@ -31,11 +30,7 @@ jobs:
3130
${{ runner.os }}-code-quality-
3231
3332
- name: Install required system packages only for Ubuntu Linux
34-
run: |
35-
sudo apt-get update
36-
sudo apt-get -y upgrade
37-
sudo apt-get install -y libsecp256k1-dev
33+
run: sudo apt-get install -y libsecp256k1-dev
3834

3935
- name: Run Hatch lint
40-
run: |
41-
hatch run lint:all
36+
run: hatch run lint:all

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ dependencies = [
123123
"pytest-asyncio==0.23.5",
124124
"fastapi",
125125
"httpx",
126+
"secp256k1",
126127
]
127128
[tool.hatch.envs.test.scripts]
128129
run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=tests"

0 commit comments

Comments
 (0)