Skip to content

Commit

Permalink
Test more
Browse files Browse the repository at this point in the history
  • Loading branch information
igas committed Oct 1, 2023
1 parent 90be549 commit d5ad844
Showing 1 changed file with 38 additions and 73 deletions.
111 changes: 38 additions & 73 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,88 +9,53 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
key: ${{ github.job }}-${{ hashFiles('mix.lock') }}-1
path: _build
- uses: erlef/setup-beam@v1
with:
elixir-version: 1.15.x
otp-version: 26.x
- run: mix deps.get
- run: mix credo --strict

# dialyzer:
# runs-on: ${{ matrix.os || 'ubuntu-20.04' }}

# steps:
# - uses: actions/checkout@v2
# - uses: actions/cache@v2
# with:
# key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}-1
# path: _build
# - uses: erlef/setup-beam@v1
# with:
# elixir-version: ${{ matrix.elixir }}
# otp-version: ${{ matrix.otp }}
# - run: mix deps.get
# - run: mix dialyzer --halt-exit-status

# strategy:
# matrix:
# include:
# - elixir: 1.12.x
# otp: 24.x

# - elixir: 1.12.x
# otp: 25.x

# - elixir: 1.12.x
# otp: 26.x

# - elixir: v1.13.x
# otp: 24.x

# - elixir: v1.13.x
# otp: 25.x
dialyzer:
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}

# - elixir: v1.13.x
# otp: 26.x

# - elixir: v1.14.x
# otp: 24.x

# - elixir: v1.14.x
# otp: 25.x

# - elixir: v1.14.x
# otp: 26.x

# - elixir: v1.15.x
# otp: 24.x

# - elixir: v1.15.x
# otp: 25.x

# - elixir: v1.15.x
# otp: 26.x
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
key: ${{ github.job }}-${{ hashFiles('mix.lock') }}-1
path: _build
- uses: erlef/setup-beam@v1
with:
elixir-version: 1.15.x
otp-version: 26.x
- run: mix deps.get
- run: mix dialyzer --halt-exit-status

# test:
# runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/cache@v2
# with:
# key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}-1
# path: _build
# - uses: erlef/setup-beam@v1
# with:
# elixir-version: ${{ matrix.elixir }}
# otp-version: ${{ matrix.otp }}
# - run: mix deps.get
# - run: mix test

# strategy:
# matrix:
# include:
# - elixir: 1.12.x
# otp: 24.x
test:
runs-on: ${{ matrix.os || 'ubuntu-20.04' }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}-1
path: _build
- uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- run: mix deps.get
- run: mix test
strategy:
matrix:
include:
- elixir: 1.11.x
otp: 21.x
os: ubuntu-20.04

# - elixir: 1.12.x
# otp: 25.x
Expand Down

0 comments on commit d5ad844

Please sign in to comment.