From a9c0aa54381de524f8e542effd5582d5e2b7861d Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Mon, 6 Jan 2025 16:45:30 -0800 Subject: [PATCH] Config for CI --- .env.ci | 2 ++ .github/workflows/ci.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.env.ci b/.env.ci index 5e5c4cb..a05bd69 100644 --- a/.env.ci +++ b/.env.ci @@ -18,6 +18,8 @@ MINIO_ACCESS_KEY=rainfall-ci-minio-access-key MINIO_SECRET_KEY=rainfall-ci-minio-secret-key MINIO_BUCKET=rainfall-test +REDIS_URL=redis://localhost:6379 + RAINFALL_ENV=test MASTODON_REDIRECT_URL=http://localhost:5000/api/v1/mastodon/login MASTODON_APP_NAME='Rainfall Dev' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a95484..84874e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,11 @@ jobs: --health-timeout 5s --health-retries 3 + redis: + image: redis + ports: + - 6379:6379 + steps: - uses: actions/checkout@v4 - name: Set up Python