File tree 3 files changed +6
-35
lines changed
3 files changed +6
-35
lines changed Original file line number Diff line number Diff line change 12
12
- 1.12-slim # otp 24
13
13
- 1.11-slim # otp 23
14
14
- 1.10-slim # otp 22
15
- - 1.9-slim # otp 22
16
15
container :
17
16
image : elixir:${{ matrix.elixir }}
18
17
steps :
27
26
- name : Run Tests
28
27
run : mix test --trace
29
28
30
- test-1 :
31
- name : run tests from v1.0.0
32
- runs-on : ubuntu-latest
33
- container :
34
- image : elixir:1.7-slim
35
- steps :
36
- - uses : actions/checkout@v2
37
-
38
- - name : Install Dependencies
39
- env :
40
- MIX_ENV : test
41
- run : |
42
- mix local.rebar --force
43
- mix local.hex --force
44
- mix deps.get
45
-
46
- - name : Checkout v1.0.0 tests
47
- uses : actions/checkout@v2
48
- with :
49
- path : " test-1"
50
- ref : " v1.0.0-compat"
51
-
52
- - name : Replace test dir with test-1/test dir
53
- run : |
54
- ls -la
55
- rm -rf test
56
- mv test-1/test test
57
-
58
- - name : Run v1.0.0 Tests
59
- run : mix test --trace
60
-
61
29
test-poison3 :
62
30
runs-on : ubuntu-latest
63
31
container :
Original file line number Diff line number Diff line change 1
- use Mix. Config
1
+ import Config
2
2
3
3
config :tesla , adapter: Tesla.Adapter.Httpc
4
4
Original file line number Diff line number Diff line change @@ -80,8 +80,11 @@ if Code.ensure_loaded?(:telemetry) do
80
80
```
81
81
"""
82
82
83
- @ disable_legacy_event Application . compile_env ( :tesla , Tesla.Middleware.Telemetry ,
84
- disable_legacy_event: false ) [ :disable_legacy_event ]
83
+ @ disable_legacy_event Application . compile_env (
84
+ :tesla ,
85
+ [ Tesla.Middleware.Telemetry , :disable_legacy_event ] ,
86
+ false
87
+ )
85
88
86
89
@ behaviour Tesla.Middleware
87
90
You can’t perform that action at this time.
0 commit comments