From 3888b203d418b6920d32a4e00e18eca8cc417e2f Mon Sep 17 00:00:00 2001 From: Ujjwal Gupta Date: Wed, 15 Apr 2020 00:30:21 +0530 Subject: [PATCH] add test for server --- .github/workflows/github_action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_action.yml b/.github/workflows/github_action.yml index 3a5abc2..7e76a8c 100644 --- a/.github/workflows/github_action.yml +++ b/.github/workflows/github_action.yml @@ -21,7 +21,9 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: shards install - - name: Run tests for development + - name: Run tests for general with env test run: cd tests/general && shards install && CRYSTAL_ENV=TEST crystal spec e2e/* --error-trace - - name: Run tests for production + - name: Run tests for general with env production run: cd tests/general && shards install && CRYSTAL_ENV=production CLOSE_PROCESS=true crystal spec e2e/* --error-trace + - name: Run tests for server with env test + run: cd tests/server && shards install && CRYSTAL_ENV=TEST crystal spec e2e/* --error-trace