fix: timeout prisma, mempool race conditions & freezing of tx processing upon erroring #352
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: Run Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Dependencies | |
| run: yarn | |
| - name: Run unit tests | |
| run: make github-test-unit | |
| - name: Add local env file | |
| run: touch .env.local | |
| - name: Spin up required database containers | |
| run: docker compose up --build -d db users-service cache | |
| - name: Run integration tests | |
| run: make github-test-integration |