chore: 2.0.0-dev as version #219
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: Mutation testing | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
on: | |
push: | |
branches: ["**"] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- elixir: 1.17.3 | |
otp: 27.1 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 30 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{matrix.elixir}} | |
otp-version: ${{matrix.otp}} | |
- name: Restore dependencies cache | |
uses: actions/cache@v4 | |
with: | |
path: deps | |
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} | |
- name: Install protoc | |
run: | | |
wget https://github.com/protocolbuffers/protobuf/releases/download/v21.4/protoc-21.4-linux-x86_64.zip | |
unzip -d protoc protoc-21.4-linux-x86_64.zip | |
echo "${PWD}/protoc/bin" >> $GITHUB_PATH | |
- name: Run mutation testing | |
env: | |
PROTOX_MUZAK_PRO_CREDS: ${{ secrets.PROTOX_MUZAK_PRO_CREDS }} | |
MIX_ENV: test | |
run: | | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.get | |
mix muzak --profile ci |