From dd2f4bd92dce1f163a447915c57d786d93caa611 Mon Sep 17 00:00:00 2001 From: ronardcaktus Date: Mon, 26 Aug 2024 10:14:15 -0400 Subject: [PATCH] Run tests in GH runner and pin django-compressor --- .github/workflows/test.yml | 4 +++- deploy/deploy-runner.yml | 1 + requirements/base/base.in | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 550ab85d..69fa2507 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,9 @@ on: jobs: test: - runs-on: ubuntu-20.04 + runs-on: + - self-hosted + - philly-hip env: DJANGO_SETTINGS_MODULE: hip.settings.dev services: diff --git a/deploy/deploy-runner.yml b/deploy/deploy-runner.yml index aa773fa8..7b136927 100644 --- a/deploy/deploy-runner.yml +++ b/deploy/deploy-runner.yml @@ -39,6 +39,7 @@ - gnupg - lsb-release - libpq-dev + - libffi-dev - python3.10 - python3.10-dev - name: Add Docker's official GPG key diff --git a/requirements/base/base.in b/requirements/base/base.in index fd3d0433..16d5e88e 100644 --- a/requirements/base/base.in +++ b/requirements/base/base.in @@ -7,7 +7,7 @@ django_model_utils dj-database-url django-model-utils django-storages -django-compressor +django-compressor==4.5.1 django-taggit django-ipware django-import-export @@ -35,4 +35,6 @@ wagtail wagtailfontawesome wagtailmenus -cffi==1.17.0 \ No newline at end of file +# Delete once deploy is successful +cffi==1.17.0 +rcssmin==1.1.2 \ No newline at end of file