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

Upgrade Elixir and OTP in GitHub Workflow #254

Merged
merged 6 commits into from
Jun 2, 2021
Merged
Show file tree
Hide file tree
Changes from 3 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
42 changes: 30 additions & 12 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: '23.1'
elixir-version: '1.11.1'
otp-version: '24.0.1'
elixir-version: '1.12.1'
- uses: actions/cache@v2
name: Cache
with:
Expand All @@ -33,19 +33,28 @@ jobs:
name: Test on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.1', '22.3.4.2', '21.3.8.16']
elixir: ['1.11.1']
otp_version: ['24.0.2', '23.3.4.2', '22.3.4.20']
elixir: ['1.12.1', '1.11.4']
rebar3_version: ['3.16.1']
os: [ubuntu-18.04]
include:
- otp_version: '21.3.8.24'
elixir_version: '1.11.4'
rebar3_version: '3.15.2'
exclude:
- otp_version: '21.3.8.24'
elixir: '1.12.1'
env:
OTP_VERSION: ${{ matrix.otp_version }}
ELIXIR_VERSION: ${{ matrix.elixir }}
OTEL_TRACES_EXPORTER: "none"
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir }}
rebar3-version: ${{ matrix.rebar3_version }}
- name: Compile
run: rebar3 as test compile
- name: ExUnit
Expand All @@ -56,9 +65,17 @@ jobs:
name: Test on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.1', '22.3.4.2', '21.3.8.16']
elixir: ['1.11.1']
otp_version: ['24.0.2', '23.3.4.2', '22.3.4.20']
elixir: ['1.12.1', '1.11.4']
rebar3_version: ['3.16.1']
os: [ubuntu-18.04]
include:
- otp_version: '21.3.8.24'
elixir_version: '1.11.4'
rebar3_version: '3.15.2'
exclude:
- otp_version: '21.3.8.24'
elixir: '1.12.1'
env:
OTP_VERSION: ${{ matrix.otp_version }}
ELIXIR_VERSION: ${{ matrix.elixir }}
Expand All @@ -67,10 +84,11 @@ jobs:
working-directory: apps/opentelemetry_api/
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir }}
rebar3-version: ${{ matrix.rebar3_version }}
- uses: actions/cache@v2
name: Cache
with:
Expand All @@ -96,8 +114,8 @@ jobs:
name: Dialyze on Elixir ${{ matrix.elixir_version }} (OTP ${{ matrix.otp_version }}) and ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.1']
elixir: ['1.11.1']
otp_version: ['24.0.2']
elixir: ['1.12.1']
os: [ubuntu-18.04]
env:
OTP_VERSION: ${{ matrix.otp_version }}
Expand All @@ -107,7 +125,7 @@ jobs:
working-directory: apps/opentelemetry_api/
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: ${{ matrix.elixir }}
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.0.2', '22.3.4.2', '21.3.8.16']
otp_version: ['24.0.2', '23.3.4.2', '22.3.4.20']
rebar3_version: ['3.16.1']
os: [ubuntu-18.04]
include:
- otp_version: '21.3.8.24'
rebar3_version: '3.15.2'
env:
OTP_VERSION: ${{ matrix.otp_version }}
OTEL_TRACES_EXPORTER: "none"
steps:
- uses: actions/checkout@v2
- name: Run Collector
run: docker-compose up -d
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: ${{ matrix.rebar3_version }}
elixir-version: '1.11.1'
- uses: actions/cache@v2
name: Cache
Expand Down Expand Up @@ -69,14 +74,19 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: ['23.0.2', '22.3.4.2', '21.3.8.16']
otp_version: ['24.0.2', '23.3.4.2', '22.3.4.20']
rebar3_version: ['3.16.1']
os: [ubuntu-18.04]
include:
- otp_version: '21.3.8.24'
rebar3_version: '3.15.2'
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-elixir@v1
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
elixir-version: '1.11.1'
rebar3-version: ${{ matrix.rebar3_version }}
elixir-version: '1.12.1'
- uses: actions/cache@v2
name: Cache
with:
Expand Down