Skip to content

Commit 962529c

Browse files
committed
WIP: workflow for latest cowboy
1 parent 2cebe5b commit 962529c

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- master
88

99
jobs:
10-
test:
10+
setup:
1111
runs-on: ubuntu-20.04
1212
env:
1313
MIX_ENV: test
@@ -43,5 +43,40 @@ jobs:
4343

4444
- run: mix compile --warnings-as-errors
4545
if: ${{ matrix.lint }}
46-
46+
test:
47+
needs: setup
48+
runs-on: ubuntu-20.04
49+
env:
50+
MIX_ENV: test
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
include:
55+
- pair:
56+
elixir: 1.11.4
57+
otp: 23.2.7
58+
- pair:
59+
elixir: 1.13.3
60+
otp: 24.2.2
61+
lint: lint
62+
steps:
63+
- run: mix test
64+
test_cowboy_latest:
65+
needs: setup
66+
runs-on: ubuntu-20.04
67+
env:
68+
MIX_ENV: test
69+
strategy:
70+
fail-fast: false
71+
matrix:
72+
include:
73+
- pair:
74+
elixir: 1.11.4
75+
otp: 23.2.7
76+
- pair:
77+
elixir: 1.13.3
78+
otp: 24.2.2
79+
lint: lint
80+
steps:
81+
- run: mix deps.unlock cowboy && mix deps.update cowboy
4782
- run: mix test

0 commit comments

Comments
 (0)