From bfb6a0f0b29cb570c0c35b2ce564a7679dc2bd06 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sat, 6 Apr 2024 20:37:19 +0100 Subject: [PATCH] Validate dependency files are in sync Only check on one version of Python as they're likely to be version specific. Pick 3.10 to check on as that's the platform they currently claim to be built for. --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 160b2da..7e1d6c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,13 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt -r requirements-dev.txt + - name: Validate dependencies + uses: PeterJCLaw/validate-generated-files@v1 + if: matrix.python == '3.10' + with: + command: ./script/compile-requirements.sh + files: requirements*.txt + - name: Use the dev configuration run: cp helpdesk/helpdesk/configuration.dev.py helpdesk/helpdesk/configuration.py