Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI housekeeping #113

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
mix-test:
runs-on: ubuntu-20.04

name: mix test (OTP ${{matrix.otp}} | Elixir ${{matrix.elixir}})

env:
MIX_ENV: test
ELIXIR_VERSION: ${{ matrix.elixir }}
Expand All @@ -21,21 +19,21 @@ jobs:
fail-fast: false
matrix:
include:
- elixir: 1.10.4
otp: 22.3
- elixir: 1.14.0
otp: 25.1
- elixir: "1.10"
otp: "22"
- elixir: "1.17"
otp: "27"
lint: lint

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
deps
Expand All @@ -60,6 +58,6 @@ jobs:
if: ${{ matrix.lint }}

- run: mix coveralls.json
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
env_vars: ELIXIR_VERSION,OTP_VERSION
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Telemetry.Metrics.MixProject do
name: "Telemetry.Metrics",
app: :telemetry_metrics,
version: @version,
elixir: "~> 1.7",
elixir: "~> 1.10",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tally with the min Elixir version in CI.

start_permanent: Mix.env() == :prod,
preferred_cli_env: preferred_cli_env(),
deps: deps(),
Expand Down