Fixes player duel display #594
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: Test Suite | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| env: | |
| DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }} | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| environment: test | |
| services: | |
| postgres: | |
| image: postgres:12 | |
| ports: ['5432:5432'] | |
| env: | |
| POSTGRES_PASSWORD: postgres | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: '1.16.2' | |
| otp-version: '26.2.4' | |
| - run: mix deps.get | |
| - run: mix deps.compile | |
| - run: cd assets && npm install | |
| - run: mix seed_test | |
| env: | |
| MIX_ENV: test |