Sleep a bunch of times to fix races #29
This file contains 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
on: push | |
env: | |
ELIXIR_ERL_OPTIONS: -kernel prevent_overlapping_partitions false | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
elixir-version: [1.15, 1.14, 1.13] | |
otp-version: [26, 25, 24] | |
exclude: | |
- elixir-version: 1.13 | |
otp-version: 26 | |
name: Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir-version }} | |
otp-version: ${{ matrix.otp-version }} | |
- run: mix deps.get | |
- run: mix compile --warnings-as-errors | |
if: matrix.elixir-version == 1.15 && matrix.otp-version == 26 | |
- run: mix format --check-formatted | |
if: matrix.elixir-version == 1.15 && matrix.otp-version == 26 | |
- run: mix test |