Skip to content

Commit

Permalink
add test for server
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalguptaofficial authored Apr 14, 2020
1 parent 7a5ae93 commit 3888b20
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/github_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3888b20

Please sign in to comment.