Merge pull request #1066 from PayButton/feat/clean-client-payment-ins… #87
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: Run Test Suite on Master | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| name: Unit and Integration 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 |