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 fecf44c commit 208fdd0
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,30 @@ jobs:
working-directory: rustler_tests
run: mix format --check-formatted

rustler_mix_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- id: component
uses: actions-rs/components-nightly@v1
with:
component: rustfmt
- name: Install rustfmt
run: rustup component add rustfmt

- name: Install Erlang/Elixir
uses: actions/setup-elixir@v1.0.0
with:
otp-version: 22.1.3
elixir-version: 1.9.2

- name: Test rustler_mix
working-directory: rustler_mix
run: |
mix deps.get
mix test
./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 +132,6 @@ jobs:
run: |
mix deps.get
mix test
./test.sh
- name: Test rustler_tests
working-directory: rustler_tests
Expand Down

0 comments on commit 208fdd0

Please sign in to comment.