Merge pull request #1 from codeadict/master #1
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
LANG: C.UTF-8 | |
TERM: xterm-256color | |
MIX_ENV: test | |
VERBOSE_TESTS: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
elixir: [1.16.1] | |
otp_release: [26.1.2] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up OTP and Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp_release }} | |
- name: Install dependencies | |
run: | | |
epmd -daemon | |
mix deps.get | |
- name: Run tests | |
continue-on-error: true | |
run: mix test --exclude=integration | |
- name: Run integration tests | |
run: mix test --only=win32:false |