Skip to content

Commit

Permalink
Add JPEG dependency for Ubuntu.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Dec 13, 2024
1 parent 71c763a commit d2e8b4b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install jpeg
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y libjpeg-dev zlib1g-dev
- name: Install dependencies
run: make install
- name: Test
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install jpeg
run: sudo apt-get install -y libjpeg-dev zlib1g-dev
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ jobs:
TO_PHONE_NUMBER: ${{ secrets.TO_PHONE_NUMBER }}
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}

runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: Install jpeg
run: sudo apt-get install -y libjpeg-dev zlib1g-dev
- name: Test
uses: nick-fields/retry@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install jpeg
run: sudo apt-get install -y libjpeg-dev zlib1g-dev
- name: Build test coverage
run: make install test
- name: Build docs
Expand Down

0 comments on commit d2e8b4b

Please sign in to comment.