From 5ed51aa2ea04424bd0e9155ff12b0822d76e5040 Mon Sep 17 00:00:00 2001 From: syl-p Date: Fri, 23 Feb 2024 15:50:14 +0100 Subject: [PATCH] feat: add test with auth in another step --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 26577b7d..ed721bec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,11 @@ jobs: ruby-version: '3.3' - name: Set up database schema run: bin/rails db:schema:load - - name: Run tests + - name: Run tests without auth + run: bin/rails test + - name: Run tests with auth + env: + ENABLE_AUTHENTICATION: true run: bin/rails test lint: