Skip to content

Commit 4bb5e51

Browse files
committed
another try
1 parent a2c20ed commit 4bb5e51

File tree

2 files changed

+31
-24
lines changed

2 files changed

+31
-24
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,3 @@ jobs:
2121
toolchain: stable
2222
- name: Run tests
2323
run: chmod +x ./rebar3 && ./rebar3 do eunit, ct
24-
25-
macos:
26-
runs-on: ${{ matrix.os }}
27-
strategy:
28-
matrix:
29-
os: [macos-11.0, macos-10.15]
30-
steps:
31-
- uses: actions/checkout@v2
32-
- uses: actions-rs/toolchain@v1
33-
with:
34-
toolchain: stable
35-
- name: Install Erlang
36-
run: |
37-
brew install erlang@22
38-
- name: Run tests
39-
run: |
40-
export PATH="/usr/local/opt/erlang@22/bin:$(pwd)/rebar3:$PATH"
41-
chmod +x ./rebar3
42-
./rebar3 do eunit, ct
43-
- uses: actions/upload-artifact@v2
44-
if: failure()
45-
with:
46-
name: test-results
47-
path: _build/test/logs/

.github/workflows/macos.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: macOS
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches: [master]
7+
8+
jobs:
9+
macos:
10+
strategy:
11+
matrix:
12+
os: [macos-11.0, macos-10.15]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions-rs/toolchain@v1
17+
with:
18+
toolchain: stable
19+
- name: Install Erlang
20+
run: |
21+
brew install erlang@22
22+
- name: Run tests
23+
run: |
24+
export PATH="/usr/local/opt/erlang@22/bin:$(pwd)/rebar3:$PATH"
25+
chmod +x ./rebar3
26+
./rebar3 do eunit, ct
27+
- uses: actions/upload-artifact@v2
28+
if: failure()
29+
with:
30+
name: test-results
31+
path: _build/test/logs/

0 commit comments

Comments
 (0)