Skip to content

Commit de7d44a

Browse files
committed
build: Add system dependencies for github actions
1 parent fc9a87b commit de7d44a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ jobs:
2626
uses: actions/setup-python@v3
2727
with:
2828
python-version: ${{ matrix.python-version }}
29+
- name: Install system dependencies
30+
run: |
31+
sudo apt-get update
32+
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev libzmq3-dev
33+
- name: Install dependencies
34+
run: |
35+
python -m pip install --upgrade pip
36+
pip install poetry
37+
poetry install
38+
- name: Run tests
39+
run: poetry run pytest
2940
pypi-publish:
3041
name: Upload release to PyPI
3142
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)