File tree Expand file tree Collapse file tree 3 files changed +106
-64
lines changed Expand file tree Collapse file tree 3 files changed +106
-64
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ build :
14
+
15
+ name : Build and test - Erlang ${{matrix.otp}} / Elixir ${{matrix.elixir}}
16
+ runs-on : ubuntu-20.04
17
+ strategy :
18
+ matrix :
19
+ # https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
20
+ include :
21
+ # Elixir 1.10.3: 21-23
22
+ - elixir : ' 1.10.3'
23
+ otp : ' 21.3'
24
+
25
+ - elixir : " 1.10.3"
26
+ otp : " 22.3"
27
+
28
+ - elixir : " 1.10.3"
29
+ otp : " 23.3"
30
+
31
+ # Elixir 1.11: 21-23
32
+ - elixir : " 1.11.4"
33
+ otp : " 21.3"
34
+
35
+ - elixir : " 1.11.4"
36
+ otp : " 22.3"
37
+
38
+ - elixir : " 1.11.4"
39
+ otp : " 23.3"
40
+
41
+ - elixir : " 1.11.4"
42
+ otp : " 24.3"
43
+
44
+ # Elixir 1.12: 22-24
45
+ - elixir : " 1.12"
46
+ otp : " 22.3"
47
+
48
+ - elixir : " 1.12"
49
+ otp : " 23.3"
50
+
51
+ - elixir : " 1.12"
52
+ otp : " 24.3"
53
+
54
+ # Elixir 1.13: 22-24
55
+ - elixir : " 1.13.4"
56
+ otp : " 22.3"
57
+
58
+ - elixir : " 1.13.4"
59
+ otp : " 23.3"
60
+
61
+ - elixir : " 1.13.4"
62
+ otp : " 24.3"
63
+
64
+ - elixir : " 1.13.4"
65
+ otp : " 25.3"
66
+
67
+ # Elixir 1.14: 23-25
68
+ - elixir : " 1.14"
69
+ otp : " 23.3"
70
+
71
+ - elixir : " 1.14"
72
+ otp : " 24.3"
73
+
74
+ - elixir : " 1.14"
75
+ otp : " 25.3"
76
+
77
+ # Not available in operating system yet
78
+ # Elixir 1.15: 24-26
79
+ # - elixir: "1.15"
80
+ # otp: "24.3"
81
+ #
82
+ # - elixir: "1.15"
83
+ # otp: "25.3"
84
+ #
85
+ # - elixir: "1.15"
86
+ # otp: "26.0"
87
+ steps :
88
+ - uses : actions/checkout@v3
89
+ - name : Set up Elixir
90
+ uses : erlef/setup-beam@988e02bfe678367a02564f65ca2e37726dc0268f
91
+ with :
92
+ otp-version : ${{matrix.otp}}
93
+ elixir-version : ${{matrix.elixir}}
94
+ - name : Restore dependencies cache
95
+ uses : actions/cache@v3
96
+ with :
97
+ path : deps
98
+ key : ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
99
+ restore-keys : ${{ runner.os }}-mix-
100
+ - name : Install dependencies
101
+ run : mix deps.get
102
+ - name : Run tests
103
+ run : mix test
104
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
<!-- MDOC !-->
4
4
5
- [ ![ Build Status] ( https://travis-ci.org /PSPDFKit-labs/bypass. svg?branch=master )] ( https://travis-ci.org /PSPDFKit-labs/bypass )
5
+ [ ![ Build Status] ( https://github.com /PSPDFKit-labs/bypass/actions/workflows/elixir.yml/badge. svg?branch=master )] ( https://github.com /PSPDFKit-labs/bypass/actions )
6
6
[ ![ Module Version] ( https://img.shields.io/hexpm/v/bypass.svg )] ( https://hex.pm/packages/bypass )
7
7
[ ![ Hex Docs] ( https://img.shields.io/badge/hex-docs-lightgreen.svg )] ( https://hexdocs.pm/bypass/ )
8
8
[ ![ Total Download] ( https://img.shields.io/hexpm/dt/bypass.svg )] ( https://hex.pm/packages/bypass )
@@ -16,7 +16,7 @@ requests. This is most useful in tests, when you want to create a mock HTTP
16
16
server and test how your HTTP client handles different types of responses from
17
17
the server.
18
18
19
- Bypass supports Elixir 1.7 and OTP 20 and up. It works with Cowboy 2.
19
+ Bypass supports Elixir 1.10 and OTP 21 and up. It works with Cowboy 2.
20
20
21
21
## Usage
22
22
You can’t perform that action at this time.
0 commit comments