Skip to content

Update README and enhance wait operation with timeout error handling #7

Update README and enhance wait operation with timeout error handling

Update README and enhance wait operation with timeout error handling #7

Workflow file for this run

name: CI
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master]
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: '1.18.x'
otp-version: '27.x'
- name: Cache deps
uses: actions/cache@v3
id: deps-cache
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- name: Cache _build
uses: actions/cache@v3
id: build-cache
with:
path: _build
key: ${{ runner.os }}-build-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-build-
- name: Install dependencies
run: mix deps.get
- name: Check Formatting
run: mix format --check-formatted
- name: Compile (with warnings as errors)
run: mix compile --warnings-as-errors
- name: Run Tests
run: mix test
- name: Code Coverage
run: mix coveralls.github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}