From 0316f5859258b19742d470326f1647195531f340 Mon Sep 17 00:00:00 2001 From: N08I40K Date: Sun, 23 Mar 2025 06:19:51 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20workflow=20=D1=82=D0=B5=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fef6833..47a5f8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build - run: cargo build --verbose + run: cargo build + - name: Create .env.test + run: touch .env.test - name: Run tests - run: cargo test --verbose -p schedule-parser-rusted -p schedule_parser + run: cargo test -p schedule-parser-rusted -p schedule_parser + env: + DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }} + JWT_SECRET: "test-secret-at-least-256-bits-used" \ No newline at end of file