Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
varnerac committed Jan 2, 2021
1 parent a2c20ed commit 4bb5e51
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,3 @@ jobs:
toolchain: stable
- name: Run tests
run: chmod +x ./rebar3 && ./rebar3 do eunit, ct

macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-11.0, macos-10.15]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Erlang
run: |
brew install erlang@22
- name: Run tests
run: |
export PATH="/usr/local/opt/erlang@22/bin:$(pwd)/rebar3:$PATH"
chmod +x ./rebar3
./rebar3 do eunit, ct
- uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results
path: _build/test/logs/
31 changes: 31 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: macOS

on:
push:
pull_request:
branches: [master]

jobs:
macos:
strategy:
matrix:
os: [macos-11.0, macos-10.15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Erlang
run: |
brew install erlang@22
- name: Run tests
run: |
export PATH="/usr/local/opt/erlang@22/bin:$(pwd)/rebar3:$PATH"
chmod +x ./rebar3
./rebar3 do eunit, ct
- uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results
path: _build/test/logs/

0 comments on commit 4bb5e51

Please sign in to comment.