Skip to content

Merge pull request #146 from nulib/dependabot/hex/dependencies/excove… #153

Merge pull request #146 from nulib/dependabot/hex/dependencies/excove…

Merge pull request #146 from nulib/dependabot/hex/dependencies/excove… #153

Workflow file for this run

---
name: authoritex
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ["22", "23", "24"]
elixir: ["1.10", "1.11", "1.12"]
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
elixir-version: ${{ matrix.elixir }}
- name: Cache Elixir dependencies
uses: actions/cache@v2
with:
path: |
deps
_build
key: ${{ runner.os }}-deps-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-deps-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}
${{ runner.os }}-deps-${{ matrix.elixir }}-${{ matrix.otp }}-
- name: Install Dependencies
run: mix do deps.get, deps.compile
env:
MIX_ENV: test
- name: Static Analysis
run: mix credo --strict
env:
MIX_ENV: test
- name: Run Tests & Coverage Analysis
run: mix coveralls.circle --trace
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
build:
runs-on: ubuntu-latest
needs: test
steps:
- name: Pass all checks
run: echo "Tests passed"