-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
76 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,26 @@ jobs: | |
with: | ||
otp-version: ${{matrix.otp}} | ||
elixir-version: ${{matrix.elixir}} | ||
- name: Cache dialyzer artifacts | ||
uses: actions/cache@v4 | ||
with: | ||
path: _dialyzer | ||
key: ${{ runner.os }}-dialyzer-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-dialyzer- | ||
- run: mix deps.get | ||
- run: mix credo | ||
- run: mix format --check-formatted | ||
- run: mix dialyzer | ||
- run: mix docs 2>&1 | (! grep -q "warning:") | ||
|
||
test-linux: | ||
runs-on: ubuntu-22.04 | ||
name: test-linux-x86-64 / ubuntu-22.04 / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-24.04', 'ubuntu-22.04'] | ||
otp: ['25'] | ||
elixir: ['1.14'] | ||
runs-on: ${{ matrix.os }} | ||
name: test-linux-x86-64 / ${{ matrix.os }} / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | ||
env: | ||
MIX_ENV: test | ||
steps: | ||
|
@@ -41,6 +48,29 @@ jobs: | |
- run: mix deps.get | ||
- run: mix test | ||
|
||
test-linux-coverage: | ||
runs-on: ubuntu-24.04 | ||
name: test-linux-x86-64 / ubuntu-24.04 / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | ||
strategy: | ||
matrix: | ||
otp: ['25'] | ||
elixir: ['1.14'] | ||
env: | ||
MIX_ENV: test | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
elixir-version: ${{matrix.elixir}} | ||
- run: sudo apt install libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavdevice-dev | ||
- run: mix deps.get | ||
- run: mix coveralls.json | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
test-macos: | ||
runs-on: macos-13 | ||
name: test-macos-x86-64 / macos-13 / OTP latest / Elixir latest | ||
|
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
Empty file.
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
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