Skip to content

Commit

Permalink
Add Ubuntu build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenjoseph committed Feb 19, 2024
1 parent 5d36d60 commit f299d9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install Ubuntu build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential python3-dev libblas-dev liblapack-dev
- name: Build and Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
poetry config virtualenvs.create false
- name: Install Ubuntu build dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential python3-dev libblas-dev liblapack-dev
- name: Install dependencies
run: poetry install
- name: Test with pytest
Expand Down

0 comments on commit f299d9c

Please sign in to comment.