Skip to content

Commit 316cd04

Browse files
authored
add example test to CI (#46)
* add example test to CI * fix new check name
1 parent e1906de commit 316cd04

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

+19
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,22 @@ jobs:
163163
164164
- name: Run test
165165
run: mix test
166+
167+
check_example:
168+
name: Run example helloworld tests
169+
runs-on: ubuntu-latest
170+
steps:
171+
- uses: actions/checkout@v4
172+
173+
- name: Set up Elixir
174+
id: beam
175+
uses: erlef/setup-beam@v1
176+
with:
177+
otp-version: 27.2.x
178+
elixir-version: 1.18.x
179+
180+
- name: Build and Test
181+
working-directory: ./examples/helloworld
182+
run: |
183+
mix deps.get
184+
mix test

0 commit comments

Comments
 (0)