Skip to content

Commit e815a3c

Browse files
committed
test on windows
1 parent d5bd8f5 commit e815a3c

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,49 @@ jobs:
4949
mix deps.get --only test
5050
- run: mix test
5151

52+
mix_test_windows:
53+
name: mix test windows (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
54+
runs-on: windows-2019
55+
strategy:
56+
fail-fast: false
57+
matrix:
58+
include:
59+
- elixir: 1.12.x
60+
otp: 22.x
61+
- elixir: 1.12.x
62+
otp: 23.x
63+
- elixir: 1.13.x
64+
otp: 22.x
65+
- elixir: 1.13.x
66+
otp: 23.x
67+
- elixir: 1.13.x
68+
otp: 24.x
69+
- elixir: 1.13.x
70+
otp: 25.x
71+
- elixir: 1.14.x
72+
otp: 23.x
73+
- elixir: 1.14.x
74+
otp: 24.x
75+
- elixir: 1.14.x
76+
otp: 25.x
77+
env:
78+
MIX_ENV: test
79+
steps:
80+
- name: Set git to use original line ending
81+
run: |
82+
git config --global core.autocrlf false
83+
- uses: actions/checkout@v3
84+
- uses: erlef/setup-beam@v1
85+
with:
86+
otp-version: ${{matrix.otp}}
87+
elixir-version: ${{matrix.elixir}}
88+
- name: Install Dependencies
89+
run: |
90+
mix local.hex --force
91+
mix local.rebar --force
92+
mix deps.get --only test
93+
- run: mix test
94+
5295
static_analysis:
5396
name: static analysis (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
5497
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)