From b1ca32187e95f3e27921c4c810c6cafa803cec49 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 5 Aug 2024 14:03:20 -0400 Subject: [PATCH] Run basic lint CI against Ubuntu noble / Python 3.12 Just as a baseline to see how far away we are. Some changes: * switch to enchant-2, which is already in focal Refs #7210. --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d64da57ef4..ff36655cc2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | @@ -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 libarchive-tools + build-essential python3-virtualenv python3-dev enchant-2 file apache2-dev jq libarchive-tools 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