feat: copy @callback to @spec to enable dialyzer checks on mockable f… #8
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| MIX_ENV: test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - pair: | |
| elixir: 1.15.6 | |
| otp: 24.3.4 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: ${{matrix.pair.otp}} | |
| elixir-version: ${{matrix.pair.elixir}} | |
| - run: mix deps.get --only test | |
| - run: mix deps.compile | |
| - run: mix test | |
| - run: MIX_ENV=prod_test mix test |