Skip to content

Commit 33fc5df

Browse files
committed
add other tests
1 parent 71b22d6 commit 33fc5df

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/elixir_tests.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@ jobs:
7777
- name: Run tests
7878
run: mix test --trace
7979

80-
- name: Test installation as a dependency
81-
run: mix test.as_a_dep
82-
8380
test-as-dep:
8481
name: Test installation as a dependency
8582
runs-on: ubuntu-latest
@@ -99,6 +96,25 @@ jobs:
9996
- name: Test installation as a dependency
10097
run: mix test.as_a_dep
10198

99+
test-apps:
100+
name: Test installation as a dependency
101+
runs-on: ubuntu-latest
102+
env:
103+
MIX_ENV: test
104+
steps:
105+
- uses: actions/checkout@v4
106+
107+
- uses: erlef/setup-beam@v1
108+
with:
109+
version-type: strict
110+
version-file: ".tool-versions"
111+
112+
- name: Install dependencies
113+
run: mix deps.get
114+
115+
- name: Run tests on example apps
116+
run: mix test.apps
117+
102118
formatting:
103119
name: mix format --check-formatted
104120
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)