Add support for custom DISTRIBUTION metric #3
Workflow file for this run
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 | |
pull_request: | |
jobs: | |
lint: | |
name: Code linting | |
uses: lexmag/elixir-actions/.github/workflows/lint.yml@v2 | |
with: | |
otp-version: "26" | |
elixir-version: "1.16" | |
test: | |
name: Test suite | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
otp: ["26"] | |
elixir: ["1.16"] | |
runtime_config: [true, false] | |
include: | |
- otp: "26" | |
elixir: "1.16" | |
runtime_config: false | |
env: | |
MIX_ENV: test | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Elixir environment | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Install dependencies | |
run: mix deps.get --only test | |
- name: Run tests | |
run: mix test | |
env: | |
STATIX_TEST_RUNTIME_CONFIG: ${{ matrix.runtime_config }} |