Skip to content

Commit

Permalink
Merge pull request #531 from getsentry/neel/fix-ci
Browse files Browse the repository at this point in the history
Update ci matrix
  • Loading branch information
sl0thentr0py authored Jan 25, 2023
2 parents 2a08ac6 + a32ddac commit 8963420
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,30 @@ env:
jobs:
test:

runs-on: ubuntu-latest
continue-on-error: ${{ matrix.development }}
runs-on: ubuntu-20.04
strategy:
matrix:
elixir: ['1.10.x', '1.11.x', '1.12.x', '1.13.x']
otp: ['21.3.x', '22.3.x', '23.3.x', '24.1.x']
development: [false]
# https://hexdocs.pm/elixir/1.14/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
elixir: ['1.12.x', '1.13.x', '1.14.x']
otp: ['22.3.x', '23.3.x', '24.3.x', '25.2.x']
exclude:
- elixir: '1.10.x'
otp: '24.1.x'
development: false
- elixir: '1.12.x'
otp: '21.3.x'
development: false
- elixir: '1.13.x'
otp: '21.3.x'
development: false
otp: '25.2.x'
- elixir: '1.14.x'
otp: '22.3.x'
include:
- elixir: '1.10.x'
otp: '22.3.x'
- elixir: '1.11.x'
otp: '23.3.x'
- elixir: 'master'
otp: '24.1.x'
development: true
otp: '24.3.x'

steps:
- uses: actions/checkout@v2

- name: Setup elixir
uses: erlef/setup-elixir@v1
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir }} # Define the elixir version [required]
otp-version: ${{ matrix.otp }} # Define the OTP version [required]
Expand Down
4 changes: 2 additions & 2 deletions test/event_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ defmodule Sentry.EventTest do
filename: "timer.erl",
function: ":timer.tc/1",
in_app: false,
lineno: 166,
lineno: _,
module: :timer,
post_context: [],
pre_context: [],
Expand All @@ -63,7 +63,7 @@ defmodule Sentry.EventTest do
%{
context_line: nil,
filename: "lib/ex_unit/runner.ex",
function: "ExUnit.Runner.exec_test/1",
function: _,
in_app: false,
lineno: _,
module: ExUnit.Runner,
Expand Down

0 comments on commit 8963420

Please sign in to comment.