Skip to content

Commit 7a122ec

Browse files
authored
fix epoll error by fixing dependencies in pyproject.toml (#30)
* fix epoll error by fixing dependencies in pyproject.toml Add dependency for httpcore=0.17.0 and httpx=0.24.0 * add building package and smoke test for package in checks.yml
1 parent dee116b commit 7a122ec

File tree

3 files changed

+29
-114
lines changed

3 files changed

+29
-114
lines changed

.github/workflows/checks.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
#-----------------------------------------------
23-
# try to load cached poetry installation
23+
# try to load cached poetry installation
2424
#-----------------------------------------------
2525
- name: Load cached Poetry installation
2626
id: cached-poetry
@@ -56,37 +56,49 @@ jobs:
5656
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
5757
run: poetry install --no-interaction --no-root
5858
#----------------------------------------------
59-
# install your root project, if required
59+
# install your root project, if required
6060
#----------------------------------------------
6161
- name: Install project
6262
run: poetry install --no-interaction
6363
#----------------------------------------------
64-
# run black
64+
# build the project
65+
#----------------------------------------------
66+
- name: Build & Install project with pip
67+
run: |
68+
poetry build
69+
pip install dist/*.whl
70+
#----------------------------------------------
71+
# run black
6572
#----------------------------------------------
6673
- name: Run Black
6774
run: poetry run black --check .
6875
#----------------------------------------------
69-
# run mypy
76+
# run mypy
7077
#----------------------------------------------
7178
- name: Run Mypy
7279
run: poetry run mypy .
7380
#----------------------------------------------
74-
# run poetry check
81+
# run poetry check
7582
#----------------------------------------------
7683
- name: Run Poetry Check
7784
run: poetry check
7885
#----------------------------------------------
79-
# run flake8
86+
# run flake8
8087
#----------------------------------------------
8188
- name: Run Flake8
8289
run: poetry run flake8 chainbench
8390
#----------------------------------------------
84-
# run isort
91+
# run isort
8592
#----------------------------------------------
8693
- name: Run Isort
8794
run: poetry run isort --check .
8895
#----------------------------------------------
89-
# run light smoke test
96+
# run light smoke test (poetry)
9097
#----------------------------------------------
91-
- name: Run Light Smoke Test
98+
- name: Run Light Smoke Test (poetry)
9299
run: poetry run chainbench start --help
100+
#----------------------------------------------
101+
# run light smoke test (package)
102+
#----------------------------------------------
103+
- name: Run Light Smoke Test (package)
104+
run: chainbench start --help

0 commit comments

Comments
 (0)