feat: allow passing ip
option to cowboy (#29)
#115
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
name: Test | |
on: push | |
jobs: | |
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.15.2' # Define the elixir version [required] | |
otp-version: '26.0' # Define the OTP version [required] | |
- name: Cache Deps & Build | |
uses: actions/cache@v3 | |
with: | |
key: ${{ runner.os }}-mix-test-${{ hashFiles('**/mix.lock') }} | |
path: | | |
deps | |
_build | |
restore-keys: | | |
${{ runner.os }}-mix-test- | |
- name: Install Dependencies | |
run: mix deps.get | |
- name: Compile Project | |
run: mix compile | |
- name: Run Tests | |
run: mix test |