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