Skip to content

Commit

Permalink
More and simpler version of elixir and OTP
Browse files Browse the repository at this point in the history
  • Loading branch information
bahner committed Feb 13, 2024
1 parent 22aa805 commit faa48d0
Showing 1 changed file with 3 additions and 49 deletions.
52 changes: 3 additions & 49 deletions .github/workflows/testsuite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: IPNS Unit and integration tests

on:
push:
branches: ["main", "develop"]
branches: ["main"]
pull_request:
branches: ["main"]

Expand All @@ -24,54 +24,8 @@ jobs:
strategy:
fail-fast: true
matrix:
otp: ["25"]
elixir: ["1.14", "1.15"]
services:
ipfs:
image: ipfs/kubo:v0.21.0
ports:
- 5001:5001
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
- name: Restore dependencies cache
uses: actions/cache@v3
id: dependency-cache
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
if: steps.dependency-cache.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Lint
run: |
mix format --check-formatted
mix deps.unlock --check-unused
mix deps.get
mix compile --warnings-as-errors
- name: Run dialyzer integrity checks
timeout-minutes: 10
run: |
mix dialyzer
- name: Run test suite
run: |
mix coveralls.github
build26:
name: Build and for test
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
otp: ["26"]
elixir: ["1.15"]
otp: ["25", "26"]
elixir: ["1.14.5", "1.15", "1.16"]
services:
ipfs:
image: ipfs/kubo:v0.21.0
Expand Down

0 comments on commit faa48d0

Please sign in to comment.