Skip to content

Commit

Permalink
Run basic lint CI against Ubuntu noble / Python 3.12
Browse files Browse the repository at this point in the history
Just as a baseline to see how far away we are.

Some changes:
* switch to enchant-2, which is already in focal

Refs #7210.
  • Loading branch information
legoktm committed Aug 5, 2024
1 parent 84eba41 commit 3568290
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ defaults:
jobs:
lint:
runs-on: ubuntu-latest
container: ubuntu:focal
strategy:
fail-fast: false
matrix:
ubuntu_version:
- focal
- noble
container: ubuntu:${{ matrix.ubuntu_version }}
steps:
- name: Install Git
run: |
Expand All @@ -17,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --yes --no-install-recommends \
build-essential python3-virtualenv python3-dev enchant file apache2-dev jq
build-essential python3-virtualenv python3-dev enchant-2 file apache2-dev jq
virtualenv .venv
# TODO: this should be one step, but there are too many conflicting dependencies
./.venv/bin/pip install -r securedrop/requirements/python3/test-requirements.txt
Expand Down

0 comments on commit 3568290

Please sign in to comment.