Skip to content

Commit

Permalink
ci: Pull template test into extra step
Browse files Browse the repository at this point in the history
  • Loading branch information
evnu committed Oct 27, 2019
1 parent 786b285 commit 158d4f6
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,27 @@ jobs:
working-directory: rustler_tests
run: mix format --check-formatted

rustler_mix_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install Erlang/Elixir
uses: actions/setup-elixir@v1.0.0
with:
otp-version: 21.x
elixir-version: 1.6

- name: Test rustler_mix
working-directory: rustler_mix
run: ./test.sh

test:
name: OTP ${{matrix.pair.erlang}} / Elixir ${{matrix.pair.elixir}} / Rust ${{matrix.rust}}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -108,7 +129,6 @@ jobs:
run: |
mix deps.get
mix test
./test.sh
- name: Test rustler_tests
working-directory: rustler_tests
Expand Down

0 comments on commit 158d4f6

Please sign in to comment.